Skip to content

RubyEdwards/Java-Snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Java-Snap

Overview

This is my first project with Java. I've used OOP principles to create a simple game of Snap! There are two versions in the code - a single player and multiplayer version.


Versions

Single Player

  • A new game is created with one parameter, the name of your game - e.g. Snap("snap")
  • You "win" automatically once two cards in a row have the same suit

Multiplayer

  • A new game is created with three parameters: the name of your game, and two Players - e.g. Snap("snap", playerOne, playerTwo)
  • To win, you must enter "snap" within 2 seconds once two cards in a row have the same suit
  • If nothing is entered, the wrong thing is entered, or the time runs out, you lose

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages