Giter Club home page Giter Club logo

clue-less's Introduction

πŸ‘¨πŸ»β€πŸ’»Hey, I'm Johnathan

banner image where I am writing code with my dog

🐢 My canine pair programmer is Shelby

🏭 Principal Engineer at Contrast Security developing a Java agent that builds security into applications

β˜•οΈ Interested in building high-performance Java systems

πŸ“š Learning a lot about integration testing at scale and infosec

πŸ€“ Sharing my side-projects and tinkerings on GitHub

πŸ‘¨πŸ»β€πŸ’Ό Decks at speakerdeck.com/gilday/

πŸ“ Blogging at johnathangilday.com/blog

😎 More about me and my software development career at johnathangilday.com

clue-less's People

Contributors

giatyeh avatar gilday avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

clue-less's Issues

Persist server IP endpoint

By default the IP address of the server defaults to 10.0.2.2 because this is what the android emulator understand to be the host machine's ip address. Should the user choose to do a different P address, the next time they launch the app, this address will reset to 10.0.2.2. Ideally the app should remember the last address used in SharedPrefernces or some other persistent storage

Notification area

While in the game, there needs to be a notification area to tell the user what has just happened.

The GSMatch objects that come back from the server should have a new "message" value each time something has happened in the game. This should be the message to display to the user

Ideally, we could keep track of all the messages and put them in a list like a log so users can see what happened in the last 3 turns if they have been away from the game for a little while. Consider this part an enhancement on the necessary notification

Game board lacks start spaces

At the beginning of a match, pawns for each player should be on the board on their start spaces adjacent to the hallway. The only reason I know where to move Ms Scarlett is bc I've been doing this every night for weeks ;)

Android service does not pick up match changes

If everyone starts their app and logins in to the match, then players start taking turns, everything works fine.

If you log in to the match and take your turn, then another player logs in to the match, this new player will not receive the right updates

Stop watching match on Activity exit

When the user leaves the game, the background thread that is polling the server should be stopped. Ideally, this would be a proper Android background service that could display notifications and always run even when the user isn't looking.

Game board as a menu system

As we discussed in class when we talked about user interfaces, menu systems should only make available those actions which the user may select.

Our game board is a menu system. It presents possible choices to the user and the users selects one. The game board should make it clear that the user may only select the spaces their pawn may move to.

Use the GameBoard's getPossibleMovesForPlayer method to get a list of possible navigations and do something in the UI to highlight these while clearly disabling invalid navigation chocies

Not allowed to mvoe to start space

The GameBoard class will report that a user is able to move from the hallway back to their start space. This should not be allowed. Can only move from start space to hallway

Ingore serializing and deserializing JSON for Match Data

When the Android service serialized the GSMatch to JSON, it would treat the custom match state (ClueMatchState) as a String and therefore would sanitize it thus ruining the JSON structure. This has been resolved and we are now posting with pure JSON.

This raises another bug. Rails will deserialize the whole JSON object, including the custom match data field, and then try to persist this object. When it puts the deserialized match data into the column, it looks the result of a to_s on a Ruby object is stored and is useless to us.

Try to change the match data hash back to JSON before dumping in a column

http://benatkin.com/2011/11/07/json-column-coder/

Players moving out of turn

There is nothing preventing players from moving out of turn. When it is not a player's turn, UI widgets like "end turn" and gameboard spaces need to be disabled.
Likewise, the backend logic should prevent this behavior even if the GUI fails to prevent this

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.