/collection-Pong

Icestudio collection for a Pong game.

Primary LanguageVerilogGNU General Public License v2.0GPL-2.0

Pong iPxs Collection

Icestudio Version

Icestudio PiXel Stream collection for a game Pong.

Install

  • Download the collection from github in a Zip format.
  • Install the collection from icestudio: Tools > Collections > Add
  • Load the collection: Select > Collection

General blocks:

Control

  • CtlPong-Buttons - Control position of player with buttons.
  • CtlPong-ADC - Not defined yet.

Dynamic:

  • DynPon - Dynamic of the complete Game's Pong.

Sound:

  • SndPong - A basic sound card of Game's Pong.

Display:

  • See next iPxs blocks...

iPxs Blocks:

Overlay (static):

  • PxsDigit - Draw a digit in a screen.
  • PxsPlayer - Draw a player in a screen.
  • PxsVerticalPlayers - Draw two vertical players in a screen.
  • PxsBall - Draw a squared ball in a screen.

Overlay (dynamic):

  • PxsNumber - Draw an increment a decrement single number.
  • PxsCounter - Draw an increment counter with two digits.
  • PxsBigCounter - Draw an increment counter with four digits.
  • PxsScoreboard - Draw a scoreboard for Game's Pong.
  • PxsPong - Draw a Game's Pong.
  • PxsFronton - Draw a Game's Fronton.

Utils:

  • PxsSyncGen - VGA signal generator.
  • PxsVGAComp - VGA component extractor.
  • PxsVGAEndframe - VGA end frame signal generator.

Videogen:

  • PxsCourt - Draw a court tennis background.

Examples:

  • Example 1 - Draw a tennis court (PxsCourt).
  • Example 2 - Draw a static Overlay block (PxsDigit).
  • Example 3 - Draw a dynamic Overlay block (PxsNumber).
  • Example 4 - Draw a dynamic big number (PxsBigNumber).
  • Example 5 - Test the player (PxsPlayer).
  • Example 6 - Test two players (PxsVerticalPlayers).
  • Example 7 - Test two players with control buttons.
  • Example 8 - Test a ball with control (PxsBall).
  • Example 9 - Test simple dynamic bouncing ball (PxsBall).
  • Example 10 - Test scoreboard (PxsScoreboard).
  • Example 11 - Test sound card (SndPong).
  • Example 12 - Test game Fronton (PxsFronton).
  • Example 13 - Test complete game (PxsPong).
  • Example 14 - Test two games together.

Authors

License

Licensed under GPL-2.0.