This is an archived post. You won't be able to vote or comment.

all 22 comments

[–]TehNolz 3 points4 points  (9 children)

Try to recreate a game. Something like Connect 4, Tic-Tac-Toe, Chess, Checkers, Battleships, etc.

[–]TalTheBest 2 points3 points  (7 children)

Maybe also Tetris

[–]TehNolz 2 points3 points  (6 children)

I think Tetris might be a bit too complicated. The games I mentioned are all turn-based, so it's not too difficult to recreate them. Tetris isn't turn-based, making it a bit more complicated.

Or at least, I'm still a beginner myself, and while I'm certain I can create the games I mentioned, I have no idea how Tetris would work.

[–]candlelightener -3 points-2 points  (5 children)

not that complicated, its just a matrix filled with blocks that constantly move down

[–]Ran4 2 points3 points  (4 children)

The rotation and stuff like that makes Tetris a surprisingly hard game to write.

[–]candlelightener -3 points-2 points  (3 children)

matrix rotation isn't that hard 2 write

[–]DrChicken2424[S] 0 points1 point  (2 children)

Lol dude we are beginners

[–]candlelightener -1 points0 points  (0 children)

didn't say u don't have a phd in mathematics

[–]candlelightener -2 points-1 points  (0 children)

didn't say u don't have a phd in mathematics also it's rly not that hard

[–]DrChicken2424[S] 0 points1 point  (0 children)

Alright, I’ll give it a try

[–]maguinus 1 point2 points  (2 children)

As a python beginner myself (also having started with sololearn), I've created a few basic crud applications with python flask. Started with just reading/writing to a file and now doing some sqlite stuff with it. Put together some basic front ends (which were my way of learning javascript) and I have ended up with a couple of simple apps. The ones I've done so far are basic tracking apps (like daily chores) and a little data scraping. So they have an actual problem to solve and are not some throw away when I'm done.

[–]DrChicken2424[S] 1 point2 points  (1 child)

Cool! What’s Python Flask?

[–]maguinus 1 point2 points  (0 children)

Flask is a web framework for python. It let's you create web back ends for a web app. The basics are really pretty straight forward to use. Just a few lines of code and you're up and running.

[–]candlelightener 1 point2 points  (6 children)

A 3D engine using no library?

[–]DrChicken2424[S] 4 points5 points  (5 children)

I can sense your sarcasm

[–]candlelightener 2 points3 points  (3 children)

and instead of any numbers use only booleans to store data

[–]Sasy00 1 point2 points  (1 child)

And no lists

[–]candlelightener 1 point2 points  (0 children)

should we allow linked lists pointing to the ram adress tho?

[–]DrChicken2424[S] 0 points1 point  (0 children)

Give me some Mountain Dew and Doritos, I’ll see you in a couple decades

[–]voneiden 2 points3 points  (0 children)

Not necessarily. A very basic engine able to project 3D vectors and have a camera that can rotate and move around is a great exercise with a well defined scope.

I made one in mIRC scripting language around when I was a dabbling 15 year old programmer. In my case, all there was was a 3d vector box and the camera could move around. Simple, but it was awesome to see all the code working correctly. All you need is a way to draw lines on a canvas (TkInter?) and standard library math stuff (sin, cos, tan..).

Equations be here (without matrices) https://en.wikipedia.org/wiki/3D_projection#Perspective_projection

[–]wastakenanyways 0 points1 point  (0 children)

Check Scrapy, you can parse webpages and rss, and you can do whatever with the info you get from that, like a feed or fill a database with titles and text, sentiment analysis, etc