Code Monkey home page Code Monkey logo

cubeflyer's Introduction

Hello Internet, I'm Sam Wronski

Lets make something awesome together!

My Projects

cubeflyer's People

Contributors

alexkaeh avatar brenda70904 avatar cherryis avatar dylanullrich avatar goob-goob avatar jeffreydunaway avatar jmantello avatar locksleylk avatar majd223 avatar mfisenko avatar pratredd123 avatar runewake2 avatar ryanxxyc avatar shepleysound avatar siminzhang avatar spammusubi153 avatar tessamero avatar welly091 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cubeflyer's Issues

Support Player Scoring

Prerequisite for #17

Add the ability to score in the game. The hud file already supports displaying the score but there isn't any way to actually score anything yet.

Let's find a way to earn points and track that!

Some ideas:

  • Score points the longer you are able to play.
  • Score points when an obstacle is past the player (or created)
  • Add coins that can be picked up to earn points
  • Something else?

Add share to social button

Once scoring is in place, we should add an option to share this to social such as Twitter. This would be enabled via a button on the menu after you have ended at least one game.

This should auto populate a tweet with the users score, and details about the game, such as:

I scored 12 points whilst playing Cube Flyer as part of the @\MSFTReactor open source bootcamp

Game title overflow and greeting overlap.

Describe the bug
Game title does not wrap or overflow on small screen widths, and the greeting is overlapping the game title.

To Reproduce
Problem is evident on immediate page load.

Expected behavior
Font should scale to the window size/wrap lines to prevent clipping or being hidden.

Screenshots
cube-game-startscreen
Cube_Start_Screen

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome
  • Version: 104.0.5112.81

Note: This issue has only been confirmed running in Chrome on an Asus Zephyrus G14. The title does clip the horizontal space on a mobile browser, but the greeting has proper spacing.

Add Support for Obstacle Collisions

When colliding with one of the obstacles in the game, the player should lose, and the score should be reset.

Right now collisions are ignored except with the floor and ceiling, lets expand this to include the mobile obstacles.

Need a pause between hitting an object and being able to restart

Not sure if this is a bug report or a feature request.

To Reproduce

  1. Play the game, tapping space to stay flying
  2. Collide with an obstacle just as you tap space to fly
  3. The tapping of space just after the game ends quickly restarts the game, not giving you time to realize you hit an object

Expected behavior
The game should obviously end and give you time to realize before you restart

Add High Score View

Prerequisite #20

Add some way to track the High Score over a session that keeps track of how high a player has scored in the hud file and displays the maximum score that anyone has achieved during that play.

Score doesn't increment as it should

Describe the bug
Score should increment every time you pass a wall

To Reproduce
Steps to reproduce the behavior:

  1. Start the game
  2. Try to pass a wall
  3. Score would still be 0

Expected behavior
The score should increment every time you pass a wall

Screenshots
Non needed

Desktop (please complete the following information):

  • Browser Microsoft Edge

Additional context
Add any other context about the problem here.

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.