Skip to content
/ war Public

๐Ÿƒ Huh. Good god y'all, what is it good for? (Spoiler: absolutely nothing)

License

Notifications You must be signed in to change notification settings

fac-14/war

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

War

Huh. Good god y'all, what is it good for?

-- Leo Tolstoy

Installation

Clone repo

npm i

npm start

How to use

screenshot

War is a very long winded two player card game. Press 'play' to play one round - each player turns over one card and the highest card wins. If the card matches, you start a war, and both players turn a card face down, then another card face up. The highest card wins all six cards. The first player to have all 52 cards in their hand wins!

โ˜ ๏ธ WARNING โ˜ ๏ธ: This might take some time, so we have added a speed mode ๐ŸŽ.

The Project

This was writtenby @arrested-developer and @dupreesi as a 2-day project during React Week, inspired by the possibilities of deckofcardsapi.com ๐Ÿƒ

Challenges

  • Using React for the first time!
  • Lifting state up.
  • Finding a game simple enough to make into a React app in a short space of time, yet complex enough to be engaging. (Spoiler - we failed miserably. This game could be marketed as a sleep aid ๐Ÿ˜ด)

Further stretch goals

  • Pre-cache images from the api

About

๐Ÿƒ Huh. Good god y'all, what is it good for? (Spoiler: absolutely nothing)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published