Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Snek Game!  (Read 5763 times)

0 Members and 1 Guest are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Snek Game!
« on: June 01, 2017, 12:05:47 am »
So, I made a clone of snake today on the side when doing something else.
Because reasons.

WASD to move, F2 to restart.

Windows 32 bit exe (just download the entire zip and unzip it):
https://drive.google.com/open?id=0B8dEkQw1a4WvUHlwZXBrRGxRX00

Code (it's single file, just uses SFML Graphics and some C++11 stuff, no external resources required):
https://gist.github.com/FRex/efb882cbeea824a56a8621b237c3f649

Image:
Back to C++ gamedev with SFML in May 2023

Carlos Augusto Br Cpp

  • Newbie
  • *
  • Posts: 40
  • Programming is life
    • View Profile
    • Email
Re: Snek Game!
« Reply #1 on: June 01, 2017, 05:48:54 pm »
Will you enhance the game? or is just for test and fun?  btw... good work :o

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: Snek Game!
« Reply #2 on: June 01, 2017, 06:14:20 pm »
It was purely for fun (and to see if I still can code a simple C++ game if I try and spend an hour on it :P), I wrote it in one sitting and don't plan to work on it anymore.
Back to C++ gamedev with SFML in May 2023

Carlos Augusto Br Cpp

  • Newbie
  • *
  • Posts: 40
  • Programming is life
    • View Profile
    • Email
Re: Snek Game!
« Reply #3 on: June 01, 2017, 06:35:50 pm »
haha so I will be watching for the next game...  ;)