Giter Club home page Giter Club logo

sushigame's Introduction

SushiGame

I wrote this game in my Advanced Programming in Java class. This game allows a player (you) to create sushi and compete against other chefs in a quest to get customers to eat your sushi.

How to Play

The user begins the game with nothing on their sushi belt. They should start by making some sushi! This is done by clicking the "Make some Sushi!" button in the top right corner of the window. Go through the steps of making sushi.

Click on a belt space at any time to see its position. If the sushi is successfully placed, the color of your plate will appear in the position you specified, otherwise, it will give you an error at the bottom left of the window. The cost of making the sushi will then be subtracted from your initial balance of $100.

Click the rotate button in the bottom left of the window to make one rotation (move sushi over one space) and see if a customer eats the sushi. If the sushi is eaten, the plate will be removed from the screen and the price of that sushi will be added to your balance. Note that once you click rotate, the chefs will also begin randomly making and placing plates. If a plate is determined to be spoiled (each plate and sushi combo has different spoilage times) meaning it has been on the belt too long, it will be removed from the screen. Do this over and over.

Sort the chefs and user by balance, amount consumed, or amount spoiled at any time by clicking on the drop-down menu in the bottom left of the screen.

There is no end to the game so play as much as you want!

Other Info

All classes in the game follow the Model–View–Controller design pattern.

I wrote 80% of the code in this game. The other 20% was supplied by my professor KMP.

alt text

sushigame's People

Contributors

adamalston avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

uvacoder

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.