Git Product home page Git Product logo

cs414-f19-012-runtimeterror's Introduction

cs414-f19-012-RuntimeTerror

CS 414 group project repo

CI status

Installation:

  1. Clone the repository (git clone https://github.com/JGelfand/cs414-f19-012-RuntimeTerror.git) and cd in
  2. cd rollerball
  3. npm install --prefix client
  4. Create a file in rollerball/src/main/resources/sql_login_info.txt, and in it put the username, some whitespace, and then the password for the account you wish to use to log in to the mysql database

Build/Run (from rollerball directory):

  1. npm run bundle --prefix client
  2. gradle run

Test (from rollerball directory):

  1. gradle test

cs414-f19-012-runtimeterror's People

Contributors

jgelfand avatar kpashak avatar nvosseteig avatar haninbal avatar toddmonitto avatar

Watchers

 avatar  avatar  avatar

Forkers

lancemcmuffin

cs414-f19-012-runtimeterror's Issues

User Actions

Allow users to create games.
Allow users to view their history
Allow users to move in games they are in
Allow users to forfeit.
Allow users to unregister.

Create Notification Class

User gets notified of new game invitations.
User gets notified that it is their turn.
User gets notified of final game results (win, lose, forfeit)

Create Registration Page

This is a client side task
should have username, password, email fields, and be able to send requests to server

Detect King Circles

End the game when either player performs a successful King Circle, clockwise from their starting line to their opponent's

Allow users to forfeit

Users should be able to forfeit when it's not their turn,. but not when the game is already over

Create client side class to display notifications

-should take a list of notification objects
-should have a way to mark notifications as read/deleted that sends something to the server. Check #50. If it's been done already, follow them. Otherwise, make your own format that seems reasonable. Remember to include the authentication token with every request.

Create Account class

this class should include: email, nickname, password, unique ID
it should be used to store this data after retrieving it from the database

Create server-side API request for recent/unread notifications

-Create a subclass of AuthenticatedRequest server-side. Probably doesn't need anything else for now.
-Register a handler for post to api/notifications that gets the account id and uses it to search the notifications table as a foreign key, then returns a list of notifications (or an authentication error if that failed)
-We might need to add an account id variable to the authentication tokens. Alternatively, need an easy way to get accounts by username instead of id. Either way will take a bit of work, adding id to tokens is probably more work but also more secure.

Create Game System

Teach it the rules.
Track moves.
Interface with Move objects
Store and send the board data.

Create login page

This is a client side task
should have username and password field
should send login request to server
should display the result of attempted login

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.