The forum has been archived
While the forum may not be active, the community still lives on Discord! Click here to join us.

Pong In Command Prompt

Share your creative endeavors
Post Reply
User avatar
Sebastian Lawe
Moderator
Posts: 2534
Joined: October 17th, 2012, 7:58 am
Design Competitions Voted: 0
Contact:

Pong In Command Prompt

Post by Sebastian Lawe »

I decided to find an excuse for building a program in C++
Making a pong physics simulator using the console window as a display ended up being the result.
I ended up building an API that treats the console as if it were any regular old screen.

[media=youtube]RBUsS1m2gxg[/media]
User avatar
Anuke
Member
Posts: 440
Joined: November 17th, 2012, 3:36 pm

Post by Anuke »

Interesting. How do you process input?
User avatar
Sebastian Lawe
Moderator
Posts: 2534
Joined: October 17th, 2012, 7:58 am
Design Competitions Voted: 0
Contact:

Post by Sebastian Lawe »

Anuke wrote:Interesting. How do you process input?
The simple answer to that is, you cant.
That of course is due to the nature of a console windows limited input

However, I could have this pong logic use OpenGL or GDI and it wouldn't know the difference.
User avatar
Baufritz
Well-Known Member
Posts: 1297
Joined: October 10th, 2012, 9:36 am
Location: Trapped on a huge round rock hurtling with immense speeds around a fiery star.
Design Competitions Voted: 2
Contact:

Post by Baufritz »

You have waay too much time on your hands.
If it's broken, fix it.
If it isn't broken, I'll soon fix that.
Post Reply