cardgame-coursework's Issues
restart entry when not enough cards in the list
Write Game constructor
- Game constructor that creates Card(s) and puts them into an ArrayList as a property of Game
- Instance the given amount of players as a property of Game
- Manage non-zero index players
- Manage increasing player number in property of Player
- Instance the given amount of Decks
thread safety
output class for writing to file
clear up handling of writing to file
Validate pack location function
Initial win can be any 4 similar cards?
Clean up CardGame main
Output all actions to file per player, plan in more detail
Add more to Player class
- ArrayList of Card(s) initially empty
- Player name/number/id
Separate threads for main game function
Clean up instantiation of numPlayers and packFile in CardGame main
Learn and implement JUnit testing
one mediator???
Initial win check
Existential dread
Development log
Figure out valid design pattern and refactor code to reflect
Distribute cards among players and decks
Each player has 4 cards
Rest go to decks
Round robin fashion
Cover page
Unit testing using JUnit (Learn and Implement)
Do TODO's appear there too
validate formatting of pack.txt
- 8n cards
- all non-neg
Preferred denomination strategy
Write Game start (?) function
Define 'from' Deck and 'to' Deck in initialization per player
Add more to Deck class
Design document reflecting chosen design pattern
writer given to mediator
Every action a player takes goes through the mediator.
the player no longer has the to from decks but rather takes its turn through the mediator. the take turn function should be synchronised so that every player takes their turn at the same time
Comments & Docstrings
Validate card to player ratio
End game Deck output file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.