Git Product home page Git Product logo

elixir-game-server's People

Contributors

christhekeele avatar et avatar puyo avatar vbop9834 avatar

Watchers

 avatar

Forkers

arialblack14

elixir-game-server's Issues

People joining an in-progress game should not cause that game to restart

  • Investigate why the whole game resets on join
  • Split out users who are in the chat list vs users who are in the game:
game: {
  users: [ ... ]
},
chat: {
  users: [ ... ]
}
  • Ensure joins after the game has started are just added to chat.users
  • Visually distinguish users who are in the game in the chat list

Arrange players better

  • Ensure current player area is always displayed in the top / left so it doesn't move around when the players before change their state
  • Display other players to the right / bottom
  • Optionally hide all other players except those who are previous/next to the current player

Allow multiple simultaneous games

  • Build a RoomIndex using the Elixir Registry API (list, create, get_members, add_member, remove_member)
  • Add room CRUD Phoenix endpoints and pages
  • Allow users to specify their username before they join

Let papers be saved to a gallery

  • Add PostgreSQL & Ecto on backend
  • Add a "Add to gallery" button to rendered poems
  • Add poem to gallery API endpoint adds the poem to SQL DB (idempotent) and front end displays a cute heart under it
  • Add a gallery, a separate phoenix page able to be loaded into a popup or its own tab, showing all saved poems nicely

Persist chat history

  • When clients join, send them last 100 messages
  • Append a chat message from the server explaining that the chat log is truncated, if there are >100 messages

Allow more than 3 players

  • Disable the triggering of game start when 3rd person joins
  • Add a "New paper" button for users in chat.users who are not in game.users that appends them to game.users with a fresh paper
  • Add a "New paper" button when users have finished their poem

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.