Giter Club home page Giter Club logo

livespool's Introduction

hfaran.github.io Content

Publishing Hugo site to hfaran.github.io

  • Adapted from Host on Github article on Hugo documentation
  • Run hugo in the hugo project folder (hfaran.github.io\)
    • This will generate content into the public folder which is a submodule to the hfaran.github.io repository. Commit and push changes in that repository to deploy to hfaran.github.io

livespool's People

Contributors

bluemonday avatar doubledeez avatar hfaran avatar rmawong avatar waffle-with-pears avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

livespool's Issues

Add a starter.db to repo

starter.db should not contain any entries, only tables with columns as required for operation.

Display list of players on Game Page

The API currently doesn't seem to be letting us call "/api/room/listplayers" from "/room/game". This list should be displayed in the UI, as discussed in the wireframes.

Serve Bootstrap and other scripts from our server

We should fetch and cache Bootstrap and other scripts currently fetched from CDNs locally on our server, and serve them ourselves. Could set up a periodic callback or something to fetch them, but can also just do it manually.

Need to add settings with all the links the fetch from; default settings can be where we fetch from currently. Then just need to modify the pages to hit the files with static_url.

Add logout option to navbar

Should only be present if user is logged in? You can check if the user is logged in by hitting /api/auth/login with a GET request; if you get back a 200, they're logged in, but if it's a 403, they're not (for this to work though, issue #32 must first be completed; additionally, logout route needs to be implemented, #31 ).

Move config files

  • Move ctconfig inside cutthroat package
  • Make a config folder and move cutthroat.conf inside that (change paths in install.bash etc. as required)

API documentation

There is a lot of undocumented code in the API; make sure to not only write/update docstrings for functions/methods/classes but also lots of in-line comments (be sure to update those). In-line comments are good!

Add tooltips for UI

It would be effective user-feedback to have tooltips appear in the UI for instructions for newcomers. We might also be able to implement them in the Game Page when a ball has been sunk. Tooltips are included in Bootstrap's tooltip.js

Post-login page proposal

  • After authenticating, if a player is not in a game, they will be forwarded to /views/room/join, otherwise if the player is in a game, the player will be forwarded to the current game screen. A "landing page" of sorts can provide the redirection (i.e., just logic in a requesthandler that either redirects to game screen if user is in a game, or room joining screen otherwise)
  • There is currently no way to exit a game other than to join a new room; there should be an explicit button on the game screen to leave the game and only then will the player be allowed to browse other rooms. (Also, a new route needs to be added that implements leaving the current game for a player)

Refactor leave_room and retire_room API calls

When in the view /room/lobby, the user has the option to exit from the current room lobby. This action should make the same API call, with logic in the backend to determine if the game should be retired, or if the player should just be removed. This way, the front-end can simply POST this action regardless of the user being an owner or player in the room.

Improve Triangle Ball Layout

Currently using divs that form balls, arranged in a right-angle triangle. We should prettify it by creating some graphic designs and using images instead, then arranging them in the proper equilateral triangle shape.

Populate Join Room Page

Add list of rooms to the Join Room Page. If list is empty, we should populate the Join Room Page with a "create room" button that redirects to the Create Room Page.

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.