How to Implement the Snake Game Using Struct and Constants in C++?

  • Topic: C/C++ 
  • Thread starter Thread starter FallArk
  • Start date Start date
  • Tags Tags
    Game
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
33 replies · 8K views
manveenkaur said:
So did you not figure out something?
Nope.
 
Physics news on Phys.org
I am still not able to get a solution. I'll really appreciate it if someone could help me. M problem is that my opponent does not move. Please help!
 
manveenkaur said:
I am still not able to get a solution. I'll really appreciate it if someone could help me. M problem is that my opponent does not move. Please help!

It appears that you are using an underscore '_' instead of a regular minus sign '-'. When you make the changes the code should work!