Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
PyRat documentation
Logo
PyRat documentation
latest version6.7.2
  • Install PyRat
  • Quick Overview
  • Tutorials
    • The Random Programs
    • Customizing Your Game
    • Choosing a Game Mode
    • Stopping a PyRat Game
    • Building a Maze
    • The postprocessing(...) Method
  • Maze Builder
  • PyRat API
    • game
      • Game
      • GameState
      • enums
      • PyRatException
      • PyRatPlayerException
    • players
      • Player
      • FixedPlayer
    • mazes
      • Maze
      • Graph
      • MazeFromDict
      • MazeFromMatrix
      • RandomMaze
      • UniformHolesRandomMaze
      • BigHolesRandomMaze
      • HolesOnSideRandomMaze
    • rendering
      • RenderingEngine
      • PygameRenderingEngine
      • ShellRenderingEngine
  • Workspace API
    • Games
      • sample_game
      • visualize_random_players
    • Players
      • Random1
      • Random2
      • Random3
      • Random4
      • TemplatePlayer
Back to top
View this page

renderingΒΆ

The rendering subpackage is what shows a game while it is played. A game creates one of these engines on its own, following its render_mode argument, so you rarely instantiate them yourself.

RenderingEngine

The base class of all rendering engines, which renders nothing.

PygameRenderingEngine

The graphical interface, shown in a window.

ShellRenderingEngine

The text interface, drawn directly in your terminal.

  • RenderingEngine
  • PygameRenderingEngine
  • ShellRenderingEngine
Next
RenderingEngine
Previous
HolesOnSideRandomMaze
Copyright © 2025, Bastien Pasdeloup & IMT Atlantique
Made with Sphinx and @pradyunsg's Furo