Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Releases: QPong/QPong

QPong v1.1.0

27 Jul 10:17
8d0b6a5

Choose a tag to compare

New

Improvement

Fixes

QPong v1.0.1

27 Jul 10:13

Choose a tag to compare

New

Improvement

Fixes

  • Change QuantumCircuit.iden to QuantumCircuit.i (#52)

QPong v1.0.0

27 Jul 10:09

Choose a tag to compare

New

  • Added LICENSE

Improvement

  • Remove classical pong
  • Restructure and cleanup
  • Remove .pyc, .DS_Store, .xml, .iml files

Fixes

  • Fixed circuit reset bug

QPong v0.2.0 (Boston Museum of Science Demo Version)

09 Apr 15:43

Choose a tag to compare

This is the demo version used in NanoDays organised by Boston Museum of Science in April 6, 2019. See this tweet

New

  • Added start screen
  • Added game over screen for win and lose
  • Added difficulty level: easy, normal and expert
  • Added credits
  • Made the game look and sound like the classic Pong (#30)
    • Changed game rule to the classic: gain point when the ball reaches the edge of opponent's field.
    • Added a dashed line in the middle
    • Added bounce sound effect similar to the original Pong
    • Use bit5x3 font to look similar to the original Pong
  • Added story and installation instructions.
  • Added a function to delete gate using the same key. For example, delete "X" gate by pressing "X".

Improvement

  • Alternate ball reset position left and right (#29)
  • Smarter computer player. The computer player now will follow the ball plus some random movement. (#31)
  • Improved game speed by including double buffering (#18)
  • Removed all print statements

Fixes

  • Fixed the bug of leaving black dots on ball trace. (#26)
  • Fixed the bug of disappearing state vector on the right after measurement (#27)
  • Fixed the bug of crashing when all gates are deleted. The problem is circumvented by putting three identity gates at the end (far right) of the circuit and use fully transparent PNG files for identity gates. (#20)
  • Fixed multiple measurement when ball reaches player paddle area. (#17)
  • Fixed new score overlap with old score (#19)
  • Removed redundant codes.
  • Removed classic Pong used for learning how to make Pong in python.

QPong v0.1.1

09 Apr 15:43
be5bcd4

Choose a tag to compare

New

Improved

  • Updated README.md

Fixes

  • Fixed the bug of crashing without gamepad. The game can be played with keyboard alone.
  • Fixed blinking screen problem during visualisation update.

QPong v0.1.0 (Qiskit Camp Version)

09 Apr 15:42

Choose a tag to compare

This is what we made after 24 hours of hacking in IBM Qiskit Camp '19.

This version requires a gamepad to play, otherwise the game will not run.

New

Basically everything!

  • Made a Pong game using PyGame and Qiskit based on JavaFXpert's [quantum-circuit-pygame] (https://github.com/JavaFXpert/quantum-circuit-pygame)
  • Use Qiskit statevector simulator backend to calculate probability of quantum states and represent it as transparency of paddles.
  • Do one shot measurement using Qiskit qasm simulator backend to determine the position of paddle when the ball reaches the paddle area.
  • Added a computer player with completely random movement.
  • Added scores
  • Added live update of paddle state when a new gate is placed

Improvement

Fixes