Skip to content

This is a simulation of the card game, War, which outputs the overall results of the game to terminal and outputs the actions of the game to WarLogger.txt.

Notifications You must be signed in to change notification settings

dinafuku/GameOfWar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of War Card Game ⚔️

Files 📁

Card.java, Deck.java, Game.java, Player.java, Simulation.java, WarLogger.java, WarLogger.txt, README.md

WarLogger.txt stores everything that happens in the game (player hand, outcome, battle number)

Usage 💻

Compile: javac Simulation.java

Run: java Simulation

Info: Then input amount of games to simulate as an integer (i.e. 10)

About

This is a simulation of the card game, War, which outputs the overall results of the game to terminal and outputs the actions of the game to WarLogger.txt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages