-
Posts
-
By skinnyJM · Posted
Since they open sourced the calculator in Win 10/11 it is much better and can do a lot, I love it. -
By +Edouard · Posted
That's just silly imo. The lengths that man goes to just to avoid W11 is just nuts. Very, very few home users would do that. I will say this though, he is committed. Btw, I note on askwoody that Woody Leonhard passed away March, 2025 aged 73. His site was one of my favorites back in the day. Belated yes but RIP Woody. -
By +Eternal Tempest · Posted
Because of the EU (a good thing) newer android devices been getting 5 years worth of security patches. Except some Motorola which found the loop hole, and offer ZERO updates. In addition, Google for years have been making where it can patch some stuff by updating the core Google Play Store itself. As echoed earlier, you take the security risk in to your own hand beyond supported. -
By Brian Miller · Posted
Are people still using Teams? -
By Copernic · Posted
Win11Debloat 06.11.2026 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 06.11.2026 fixes: Fix lock screen spotlight option being disabled when disabling the start recommended section by @Raphire in #619 Fix log message formatting by @Raphire Note The -RemoveCommApps and -RemoveW11Outlook command-line parameters for uninstalling a few specific apps have been removed with this release. If you previously relied on these parameters, please see this wiki page for alternative methods of removing these apps. Download: Win11Debloat 06.11.2026 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware
-
-
Recent Achievements
-
restore went up a rank
Rookie
-
AndrewSteel earned a badge
Very Popular
-
Taliseian went up a rank
Veteran
-
Clizby earned a badge
One Month Later
-
Timaximus earned a badge
One Month Later
-
-
Popular Contributors
-
Tell a friend
Question
cfoy2
i have a homework assignment that is due next week. i am trying to create a game of the amazons type of game. we are using c language. i need someone to write a pseudocode because im not sure how.
more info:
The software to be developed is inspired by the Game of the Amazons board game, with four queens to both players, of which move before firing an ‘arrow’ that obstructs tiles. In short, the objective is to block off the movement of the opponent’s teams, and the game concludes whenever someone can no longer move any of their queens. This task requires the game to check many conditions before and after moves are made.
As follows, this is the scope of the aforementioned project:
· The application will be programmed in Java, and therefore should be able to operate on multiple platforms as java allows, however it is not designed with mobile devices in mind.
· It functions as a standalone application without any network functionality.
· The application will support two player local play and player vs AI. The mouse should be implemented as a control that allows characters to select pieces and direct them to move or fire an arrow. The AI should at minimum should be able to move and fire arrows according to the rules.
· The application will consist of a GUI that allows a user to interact with it without need of a console. This includes a menu that allows players to start the game, designate game mode, and forfeit games, as well as a window that displays the grid in which the game takes place (10x10 grid).
Speculated classes, functions and data
This document is more or less a rough draft for the design process. Build on the ideas of these classes
// Main menu content goes here. There may be classes for buttons and functionality in the menus.
//
//
// End main menu content
Main
The main file here operates the cycle of the game. The general flow will be as follows
Begin player turn. Check the 8 neighbors of all tiles that have the queen tag matching the current player’s turn. Use a special check neighbor function here. Game ends if no free queens are found on the grid.
Begin loop that waits for user input. It repeats until a valid queen is selected.
Begin loop that waits for user input. Repeats until a valid destination for the selected queen is selected. Queens can only move in 8 directions.
Begin loop that waits for user input. Repeats until a valid destination for the queen’s arrow is selected (aiming is centered on the queen’s selected destination.) Like queens, can only go in 8 directions.
With all loops completed, move the queen and place the arrow token in their respective destinations, and end turn. Return to top.
Constant: int MAX = 10
Board(int MAX, int MAX)
2D array of integers. Given how simple the game is, this is all that should be necessary.
A ‘0’ means the tile is unoccupied.
A ‘1’ means it is occupied by a player1 queen.
A ‘2’ means it is occupied by a player2 queen.
A ‘3’ means it is occupied by an arrow.
Function: boolean checkOpen (source Board(int X, int Y))
Checks neighbors of a specific board tile. Used at the start to determine if there are any free queens.
That means the eight neighboring cells: (X+1, Y-1) (X+1, Y) (X+1, Y+1) (X, Y+1) (X, Y-1) (X-1, Y-1) (X-1, Y) (X-1, Y+1).
If none are unoccupied (have a value of 0), then return false.
If at least one is unoccupied (has a value of 0), then return true.
Function: Boolean checkMove(source Board(int X1, int Y1), destination Board(int X2, int Y2))
Checks if move is legal. Can be used for both moving queens and choosing an arrow destination.
First, checks if the destination is in one of the eight directions.
If both have an equal X value AND Y value, it is illegal
Return false.
If both have an equal X value OR an equal Y value, it is in a valid direction.
If it is in one of the diagonal directions, it is a valid direction.
Will have to use math. If X2 is greater than X1 by 3, and Y2 is also greater than Y2 by 3, it should be diagonal. Can replace the 3 with any value, positive or negative. So the formula looks like:
If ((X2 – X1) = (Y2 – Y1)) then it is a valid direction.
Check if all tiles between them are unoccupied.
Formula differs based on which direction.
If there is an occupied tile in the path, it is illegal.
Return false.
Is there are only unoccupied tiles in the path, it is legal.
Return true.
Function: void commitMovement( source Board(int X1, int Y1), queendestination Board(int X2, int Y2), arrowdestination Board(int X3, int Y3))
With all loops finished and changes ready to commit, this makes changes to the board.
Sets queendestination Board(int X2, int Y2)’s integer equal to source Board(int X1, int Y1)’s integer (1 or 2).
Sets source Board(int X1, int Y1)’s integer to 0.
Sets arrowdestination Board(int X3, int Y3)’s integer to 3.
This is all done by inputting Board( x, y) = int. Or whatever equivalent in C#.
Link to comment
https://www.neowin.net/forum/topic/1392491-help-write-a-pseudocode/Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now