Git Product home page Git Product logo

shiritori's Introduction

shiritori

Primarily a personal project and a means to experiment working with web sockets, deploying to AWS, etc.

Running

This application is packaged as a "fat" jar. Tomcat should not be required to run the server. Steps to run:

  1. Clone the repo
  2. In project root, run ./gradlew build
  3. Locate jar file in build/libs/shiritori.jar
  4. Open CMD/terminal/PowerShell/etc to file location and run: java -jar shiritori.jar to start the server
  5. Once startup is complete, the server should be running at localhost:80!

2024 edit - or, just do ./gradlew bootRun lol

theratden.com decomissioned as of Nov 6th, 2022. (Free year of AWS expired)

shiritori's People

Contributors

hrothwell avatar

Stargazers

Eugene Domrachev avatar

Watchers

 avatar

Forkers

mikeadkison

shiritori's Issues

Additional AWS scripts

More scripts will be needed for if/whenever the EBS volume is wiped from instance. These scripts will need to:

  • yum update
  • yum install -y ruby
  • yum install wget
  • Install CodeDeploy agent using wget
  • chmod +x ./install
  • ./install auto
  • service codedeploy-agent start
  • Install java 11 : amazon-linux-extras install java-openjdk11 might work, forget what I used on initial setup

Option to view populated rooms

Keep track of chat rooms that have more than one user currently subscribed to them

  • Already being done for shiritori lobbies, something similar would probably be suitable for chat rooms
  • however, this may not fit the "flow" that is currently existing
  • Plus, everyone is already dropped into "lobby" to start. Will people really be jumping around too much?

Keep track of played words

add all words to list of words and send out list to users each time a new word is played

  • Client renders list and displays it somewhere on screen

Change admin chat color

update the "Admin" user's chat color during games of Shiritori so that it is easier to differentiate

Fetch images during gameplay

while playing shiritori, it would be cool to have a box somewhere on screen that can contain images of the words that were played. However, finding an api to fetch images has been kind of hard since my usual go to options have changed how they work

SNS for CodeDeploy

setup SNS for when deploys fail to send out an email to subbed users (me)

Research Log Errors

I have been seeing several unexpected errors in the logs in AWS. Some have some information (POST not supported, not sure what endpoint), others have no info. They are all falling into the /error handler, so add more logging there to try and gather info (target endpoint in particular could be helpful)

Add "rules" tooltip

not everyone knows what Shiritori is, so could include a button/tooltip/something that contains some basic rules of the game

HTTPS

Right now the site is only accessible via HTTP, not HTTPS. Would be a good lesson on networking to figure out how to set this up I think

Nav buttons

make simple nav button(s) such as "Home" to get back to main page

"Restart" game

Relates to keeping track of words

  • if we start keeping track of words and not allowing repeats, we will need a way to "clear" the game words and start over basically

Allow custom chat colors

Allow users to pick their preferred color for how their messages will show up.

  • Some sort of color picker widget?
  • send hex to server, validate on server
  • hex is sent out as part of BasicMessage object
  • parse client side, validate structure, add style to message span?

Links

adding links in app that point to github project, maybe an email/issues link, etc

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.