Skip to content
/ Snap Public

Snap Card game for AP Computer Science AB 2022-2023 in Ivan Rico's class

Notifications You must be signed in to change notification settings

luis-c465/Snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snap App

Snap Card game for AP Computer Science AB 2022-2023 in Ivan Rico's class

Dependencies for running

Running

  • First download the Latest release
  • Then run in the command line (Or just double click on the file)
    java -jar Main.jar

Building

Dependencies

How to build

  • In the Processing app go to in the top bar: Tools -> Install processing-java
    • NOTE: The Processing-java command only has to be installed once
  • Then in the command line run
      ant
  • Then the Executable Jar Main.jar will be in thebuild/ folder 🎉

Project Requirements

Due: Sun, Jan 8 2023

  • 2 Players per game
  • 7 cards in a deck, start with 5 (12 total card, 4 per location)
  • Cards have values of at least 1-9
  • 3 Locations
  • 4 cards can be placed at each location
  • Highest sum of cards wins location
  • 1 card played on the first turn, 2 cards on the second turn, etc..
  • 1 card randomly drawn each turn
  • Ends after at least 3 rounds (suggested 5 rounds)
  • Can exit whenever