domsson / cong Goto Github PK
View Code? Open in Web Editor NEWPong clone in C++ with SFML - an exercise to learn C++
Pong clone in C++ with SFML - an exercise to learn C++
The game should run at the same speed on all machines, but currently it runs noticeably faster on my desktop machine than it does on my laptop. Something must be off in the game's main loop logic.
The higher the ball's velocity, the more erroneous the collision detection. First the ball will bounce off the paddles without actually making contact. Once the velocity is very high, the ball will eventually travel through the paddles. This is due to the fact that the collision detection is too simple.
The game currently starts in a window of size 800 ร 600 px, but when entering the Options menu, it shows "640 x 480" as the selected size. Leaving the Options menu will save the options, hence change the window size to 640 ร 480 px. This is wrong. The Options menu should show the current window size.
Currently there only is support for keyboard control. This makes for a purely digital ("up" or "down", 100% or nothing) movement. There should be support for game pads, to make use of their analog sticks for more fine grained control over the paddle's speed. Ideally, keyboard control should be able to somehow emulate this behavior as best as possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.