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

  • Context: C/C++ 
  • Thread starter Thread starter FallArk
  • Start date Start date
  • Tags Tags
    Game
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
33 replies · 7K views
manveenkaur said:
So did you not figure out something?
Nope.
 
Physics news on Phys.org
How did u guys deal with the tail?
 
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!