Get me a number puzzle game-program



Get me a number puzzle game-program..

Answer / Ramendra Singh Yadav

Here's an outline for creating a simple number puzzle game in C++ using the Ncurses library:n
1. Install Ncurses and include its header files.n
2. Define classes:n - Board (with properties like grid size, filled cells)n - Player (which makes moves on the board)n
3. Implement methods for each class:n - Generate a new puzzle.n - Display the current state of the board.n - Handle user input to make moves.n - Check if the puzzle is solved.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

Can we override main method?

1 Answers  


what is the difference b/w abstract and interface?

2 Answers   Merrill Lynch, Schneider, Scio Healthcare,


Why is abstraction used?

1 Answers  


what is difference b/w object based and object oriented programming language?

18 Answers   Chaitanya, College School Exams Tests, Educomp, IBM, Infosys, Telko,


what is the difference between class and object?

9 Answers  


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1 Answers  


write a short note on Overloading of Binary Operator?

2 Answers  


write knight tour problem which is present in datastructure

1 Answers  


What are the important components of cohesion?

1 Answers  


Why do we use class in oops?

1 Answers  


what is inline function?

3 Answers  


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1 Answers  


Categories