Coder Social home page Coder Social logo

pi-in-the-sky-rs's People

Watchers

Hidden Toad avatar

pi-in-the-sky-rs's Issues

Show pi digits caught on the bottom of the screen

For now just writing the number is sufficient

Later on we might consider that as the user is able to get more and more number, there is gonna be a line break, and eventually the text area might be full so it will need to automatically scroll down

Get the digits of pi from an API request

Instead of having the digits of pi hardcoded into the code, I'd like for you to load this information before the game starts from and external source.

This website actually has a rest api that can give you the digits of pi (they actually calculated 100 trillion digits - but we don't need all that ha!) https://pi.delivery/

Spawn random number of pies from the top of the screen

Take into consideration that you don't have to spawn new pie at every new frame
Spawning more pies at the same time will clutter the screen and make it harder to "catch" the correct one that we want, se we could play with this later on if we want to add different stages that increase difficulty

Define random number of slices for each pie [0..9]

You can start just drawing the number on top of the circle, but afterwards we can create a different issue to polish this visual representation and actually draw the correct number of slices on top of the ellipsis

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.