Giter Club home page Giter Club logo

class-projects-1's People

Contributors

flyingwolfox avatar imgbotapp avatar

Stargazers

 avatar

Watchers

 avatar

class-projects-1's Issues

Battleship: Update ruleset and add one more

New Game Mode
There's two rules to be implemented

  • 1. Easy Rule:

    • 3 shots
    • Show which ship was hit in each shot
  • New ship artwork for the hard rule

  • 2. Hard Rule:

    • 3 consecutive shots (no display between each other)
    • Show how shots many hit, but not which, also displaying the what ship was hit. If one sunk, show the entire ship on display

Connect 4: minimax algorith not working

After testing single player mode, discovered that the minimaxPlay function sets the botton line to 1 .
Happens like:

  • Game started
  • I type 1 (botton line first column is my play)
  • After the minimaxPlay, the botton row is all set to 1
    and the minimax play above mine
    Why? it isn't undoing moves?

Simon: add response timer

New Feature with existing resources
The max response time allowed by Simon is 5 seconds, passed this, the mistake routine is activated

Simon: Add game modes

New Game Modes
- Mode 1: Classic genius challeng (alredy done)
- Mode 2: You make your own sequence and repeat it
- Mode 3: Classic challenge, but removing the mistaken color from future sequences

Battleship: Implement map mode

Big modification
Make the map size closest to 15x15 squares

Mode 0:

  • Variables

  • File validation

  • Ascii display creator

  • display map modifyer

  • Display printer

  • End verification

Mode 1:

  • Variables

  • File validation

  • Ascii display creator

  • display map modifyer

  • Display printer

  • Click to coordinates

  • End verification

Battleship: Ship rules

New feature
Must work with map parser

  • Ship types and quantity

    • 5 Hydroplanes: (<^>)
    • 4 Submarines (o)
    • 3 Cruiser (<>)
    • 2 Battleship (<==>)
    • 1 Aircraft Carrier (<===>)
  • Must enforce the rules

  • The ships should be at least one square of distance of each other

  • Make rule deactivation easy (in code)

Two choices can be made:

  1. Maintain the actual file formatting, but identify each ship inside of the program
  2. Force a new file formatting, which will give the ships ready

The second is easier in te code, but how the formatting will be done I have no idea
The first appear to be the right choice, making this work with the map parser

Simon: Code optimazations needed

Well, implementing the modes crated a ton of repeated code, since I just copied and pasted inside od the ifs for the game mode XD This will make things easyer to read

Connect 4: Multi combination mode

New Game Mode

  • The game doesn't stop when someone make a win combination, it continues until there's a tie
  • In this mode who win is who make more win combinations
  • The win combinations should be highlighted and display a counter for each player in the botton or side
  • Make it accessible from the main menu

Simon: Skill levels

New Modifyer

  • Put a skill level system, which limits the number of sequences befor the simon congratulates you for the win
  • The levels are:
    • Level 1: 8 combinations
    • Level 2: 14 combinations
    • Level 3: 20 combinations
    • Level 4: 31 combinations

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.