DNA.Pacman.Net 1.1.2

dotnet add package DNA.Pacman.Net --version 1.1.2                
NuGet\Install-Package DNA.Pacman.Net -Version 1.1.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DNA.Pacman.Net" Version="1.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DNA.Pacman.Net --version 1.1.2                
#r "nuget: DNA.Pacman.Net, 1.1.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DNA.Pacman.Net as a Cake Addin
#addin nuget:?package=DNA.Pacman.Net&version=1.1.2

// Install DNA.Pacman.Net as a Cake Tool
#tool nuget:?package=DNA.Pacman.Net&version=1.1.2                

GETTING STARTED

Pacman.Net is designed to be a simple, easy-to-use learning tool for new programmers. This tool is not intended to be used to make Pacman-style clone games.

The following is a simple guide to getting the tool set up for use:

  1. To begin using the tool, make sure to import the PacmanDotNet namespace.
  2. Then, create a variable of the PacmanGame type and assign it a PacmanGame instance.
  3. Using the PacmanGame variable, call SetMap() and pass in "blank" as a parameter.
  4. Again using the PacmanGame variable, call StartGame().
  5. Run the program, and a simple, blank map should appear with Pacman.

Your code should look something like below: import PacmanDotNet;

public void Main(string[] args) { PacmanGame myPacman = new PacmanGame(); myPacman.SetMap("blank"); myPacman.ShowGame(); }


MORE NOTES

For a list of available maps, PacmanGame has a PrintMapNames() method. This will display all available maps to the standard output stream.

The update rate of the game map can be altered, by calling PacmanGame's SetDelay() method. This method takes in an integer value representing the milliseconds between each screen refresh.

For maps with Ghosts, the Ghosts will only move when PacmanGame.Move() is called. Turning left or right does not count as a move, and will not cause the Ghosts to move.

Messages can be sent to the game display by using PacmanGame's SendMessage() method.

Input can be taken in by the game display by using PacmanGame's GetTextFromUser(), GetIntFromUser() or GetDoubleFromUser(). All three methods take in a string parameter as a prompt for the user.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.2 158 10/4/2023