Git Product home page Git Product logo

pentagame-react-kt's Introduction

Pentagame

github: htps://github.com/NikkyAi/pentagame

online: demo

Building

Backend

build: ./gradlew :backend:shadowJar execute: heroku local:start

find runnable jar in backend/build/libs/, you may need to set some environment manually

Frontend

js is bundled in the server automatically

for dev: ./gradlew :frontend:run -t alternative: ./gradlew :frontend:bundle then open frontend/build/bundle/index.html in a browser (using idea as webserver)

Database

launch a local postgres container with

docker pull postgres
docker run --rm   --name pg-docker -e POSTGRES_PASSWORD=docker -d -p 5432:5432 -v $HOME/docker/volumes/postgres:/var/lib/postgresql/data  postgres

https://hackernoon.com/dont-install-postgres-docker-pull-postgres-bee20e200198

Recording a game

The game is currently recorded by the getClient and server, but not serialized or stored

There is currently more data recorded than strictly necessary too

TODO

To record a game some initial setup is necessary, knowing the amount of players and which team they are in

TODO

players have 4 ranked chosen symbols the highest ranking player gets their preferred symbol in case of conflict of choice

UI

vertical or curved on corner:

  • player names/faces highlight this turn digital clock

tabs:

  • help & rules
  • multiplayer/login:
    • server / connection info
    • all players info
    • session chat
    • rooms / games
    • global chat ?
    • account info
  • notation
  • debug export

ELO

new players have null ranking when a new player beats a ranked player they get awarded the same rank points then points get redistributed total rank points increase with total ranked player count separated rankings for 2, 3, 4, 2v2 players

pentagame-react-kt's People

Contributors

jmfayard avatar nikkyai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pentagame-react-kt's Issues

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.