***********snake game

how can we design a snake game using object oriented design without graphics
also snake and ladder game
asked in one of the interview please help

hello @nmaurya760

refer this ->snake and ladder oops

The code is in java can you please send the documentation in c++

hey i dont have any other link . just try to understand the given text.

if u have any issue with syntax then i can help u with it (c++ and java syntax are very much same).

I am also getting everything in java only for these designs questions and i dont know java at all
Can i call u to understand few things in java code??

u can write it here .
i will try to explain.

.

1.Java mai abstract ya interface keword use krte h to make it abstract and in c++ we make virtual function to make a class abstract , i am unable to implement it
2. Java mai enum data type k sath public ya private access specifiers use krte hai how to do this in c++

u need to learn about pure virtual function in c++.
to make any class abstract we need to decclare atleast one function as pure virtual function .
for ur refrence->resources

if u put below public: then it will be public
otherwise by default it will private.
check example ->here

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.