Giter Club home page Giter Club logo

realtime-board-game's People

Contributors

dev-mmb avatar foekinator656 avatar frankvdbroek avatar jely2002 avatar timmisiewicz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

realtime-board-game's Issues

Creating CardView

i am going to make first version of the infrastructure for the cards in the boardgame

Create Enum for card types

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.

clean Views

put common functionality in super class and helper class

create Board Controller

Note - The Board Model does not do any logic, it simply holds data used by the pawns to move

The Board controller simply controls movement over the board

Create Observables for all models

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.

Surrendering process

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.

Player colors

The active player field's color does not match the actual color of the active player

Fix - Change getCurrentTime ==> getCurrentTurnTime

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.