Solitaire Board Game Gameplay: To remove a marble, you move one marble over another (jump) to land in an empty space. The “jumped” marble is removed from the board. Marbles can jump in any direction:...

Hi i'm looking for a simple solitaire board game done on Visual Studio for android and windows UWP. Please code in the xaml code as well as the xaml.cs. I've uploaded the full details of what's required. (XAML and C#)


Solitaire Board Game Gameplay: To remove a marble, you move one marble over another (jump) to land in an empty space. The “jumped” marble is removed from the board. Marbles can jump in any direction: north, south, east, west. But they cannot jump diagonally. Rules: 1. At the start, place each marble in a space, except for the centre 2. Move one marble at a time by jumping over another marble to land in an empty space 3. You can jump over as many marbles as you can in one move (similar to draughts) 4. Keep jumping until there is one marble left on the board 5. The last marble must end up in the centre space 6. The game is over when no more jumps are possible Details: Implement a version of Solitaire as outlined using Xamarin Forms (XAML, C#) through Visual Studio. • Create a suitable game board and pegs to implement the game play o Includes setting up the board o Adding the marbles o Remove marbles that are jumped o Reset the board o Moving/Jumping the marbles • Display the current number of marbles left on the board • Ensure the rules are implemented to stop the player cheating • Allow the player to save the current state of the game so that it can be continued later o Saving a single game is acceptable here • Allow the player to abandon the current game and start with a new board • Test on multiple platforms before submission – it may not be perfect, so document what is wrong with it. When you document the problems, it shows an understanding of what is going on and this is part of the learning process as well Coding Elements: 1. Create the Mark Up for the UI consisting of StackLayouts, Grid, Labels, Entry boxes, BoxViews and Buttons as appropriate. The setup will be a mix of XAML code and C# code 2. Create methods in C# as described above to interact with the UI a. Ensure that your code is readable and maintainable as you develop b. Methods should be well organised and have one function only in the code 3. Save the data in a suitable format that is documented in the code – class structure and associated methods Picture and video of the game: https://youtu.be/fUVukxJtGi8
Nov 24, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here