Advertisement

Any good programming exercise?

Started by November 20, 2021 09:08 PM
15 comments, last by 8Observer8 2 years, 11 months ago

@SeñorSpock LeetCode has a ton of free problems of varying difficulty and you can solve them in many different languages in-browser.

My itch.io page, just game jams so far

Look for examples of prototypes of simple famous games from tutorials and update them. You can find a lot of video/text tutorials with enough information to start in any language/API/engine in the Internet.

I mean games like:
- Pong
- Breakout/Arkanoid
- Snake
- Tetris
- Minesweeper
- Pac-Man
- Bomberman
- Super Mario
- Flappy Bird
- Angry Birds
- and so on.

Making simple games are good exercises for learning programming. In addition you can make exercises on websites like it: https://www.codewars.com/

Advertisement

What I do is browse projects on GitHub in the language im learning and try and see how much of the code I understand like what's happening. Also I try and learn to use a library like sfml or sdl 2. (because im learning c++)

phlp said:

@SeñorSpock LeetCode has a ton of free problems of varying difficulty and you can solve them in many different languages in-browser.

+1

Advertisement

Komatsu said:
What I do is browse projects on GitHub in the language im learning and try and see how much of the code I understand like what's happening. Also I try and learn to use a library like sfml or sdl 2. (because im learning c++)

Me too. Many of tutorials has GitHub repo. I like this series of tutorials that was made in SFML (I want to rewrite it to pure WebGL and TypeScript):

@8Observer8 Thank you!!

Source code of game prototypes from the tutorials above in SFML: https://github.com/embeddedmz/16-Games

This topic is closed to new replies.

Advertisement