jely2002 / realtime-board-game Goto Github PK
View Code? Open in Web Editor NEWA real-time board game made with JavaFX and Firebase. Coursework for Leiden University of Applied Sciences.
A real-time board game made with JavaFX and Firebase. Coursework for Leiden University of Applied Sciences.
include proper amount of verbosity
Add condition at the start of each turn to check if a teammate can control pawns
add/draw cards, use cards etc.
Also create a superclass for all views maybe??
i am going to make first version of the infrastructure for the cards in the boardgame
Tell the player they won or lost. With a button back to the main menu.
Right now numbers are used to define card types. It would be better if we use an enum so the code is easier to understand.
This view houses all game related views such as, board, stats and cards.
Check in the model and controller if a player has won and if the client is that player. Call the win view accordingly.
put common functionality in super class and helper class
Firebase update loop is not allow and must be fixed
The Board controller simply controls movement over the board
Add the player, cards, etc. classes to the model.
This shows stats such as rounds and amount of cards
Observer Package is no longer used and such it can be removed.
When a Player begins his round, a timer will kick-off 60 sec.
create card indexes, card types
Create the lobby view to display player selection
Right now everyone can skip everyone's turn
We need to create Observables for all models so the view gets notified when a change in the model occurs. This issue can only be worked on after #9 is resolved.
When the player has no possible moves to make, he must turn in all his cards. We'll need to decide how to implement this. I think the best solution is to make a surrender button. When the player clicks this button, he loses all his cards and waits for the next round to start. If we decide not to have any checking by the game if there are possible moves/cards, the player must always surrender automatically if the time for his turn runs out.
GO @jely2002
This view shows the gameboard.
The active player field's color does not match the actual color of the active player
This is literately one line of code.
This issue can only get worked on when all controllers have been created.
return to main menu when 1 person leaves
The name of the method getCurrentTime suggests that you get the current time, but actually you get the remaining time of the current turn. Therefore, I propose to change the method in GameStatController to getCurrentTurnTime.
Also in the class GameStatView the call to this method has to be updated to getCurrentTurnTime.
switch statements are for tryhards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.