qiskit-advocate / qamp-fall-21

Qiskit advocate mentorship program (QAMP) fall 21 cohort (Sep - Dec 2021)
30 stars 6 forks source link

Creating a game with Qisge and write a step by step guide on how to do it. #11

Open TigrisCallidus opened 2 years ago

TigrisCallidus commented 2 years ago

Description

We would like to use our game engine Qisge https://github.com/qiskit-community/Qisge to teach programming to High School students and other non technical people. Therefore, it would be good to have interesting demo games made for Qisge and having some step by step guides on how to make such a game. Your Job would be to make a game in Qisge using Python and Qiskit. The game must use quantum computation, this can be for procedural generation, for some form of AI, or even for the game mechanic. Except this condition you are free to do any form of game you want (and can do with the limitations of Qisge).

Mentor/s

Marcel Pfaffhauser (@TigrisCallidus), Quantum Community and Education Developer

Type of participant

Participants should have a basic knowledge of Python and Qiskit and should have a passion for making games.

Number of participants

1-3 people can work on one such project. More people will generally just mean you can make a more complex game. Special: Up to 2 teams can work on this, since we would like to have 2 more such step by step guides.

Deliverable

The end result should be a game using Qisge and Qiskit, as well as a step by step guide on how one can create this (or a similar) game. This is meant for non technical people (including High School students) to learn programming.

wslu42 commented 2 years ago

I am very interested in creating quantum games and also want to promote non-technical game developers! I also have one game in pypgame/qiskit module ready and one under development, can't wait to join this project!

adarsh1chand commented 2 years ago

Interested to contribute. Have experience with Unity and qiskit.

shil-m commented 2 years ago

There was a demonstration of Qiskit Blocks at the QXQ summer school, and I really loved it. Will this project be something similar? It interests me greatly; however, I had no previous experience with Unity/Qisge. Is it something I can learn during the course of the project? Is it okay if I reach out to you @TigrisCallidus in slack to know more. Thanks.

TigrisCallidus commented 2 years ago

Sorry for the late reply:

I am glad that people are interested, please just apply and write me on slack.

There is not really a need for Unity knowledge, and there should be time to learn more about Qisge and programming.

Qisge in the end is a tool meant for people to learn to program with Qisge!

wslu42 commented 2 years ago

I will be one of the participants on this project @HuangJunye according to the airtable, and I am pinning you as requested in the meeting. Thanks!

HuangJunye commented 2 years ago

Can you please upload your presentation here by the end of today? Thank you! @wslu42 @shil-m

shil-m commented 2 years ago

Just going through some minor changes. Will post it here soon @HuangJunye.

wslu42 commented 2 years ago

211005-Qisge_qamp21.pptx

@HuangJunye Sorry I was waiting for the template files to update my slides (for some reason I can't open it on either my Win 10 or Win 7 laptops). But I guess I should just post it.

shil-m commented 2 years ago

[Uploading #11 Creating a game with Qisge and write a step by step guide on how to do it.pdf…]()

HuangJunye commented 2 years ago

@wslu42 Sorry I missed your message on Slack. Let me see if I can fix it. @shil-m Did you upload a file? The link only links to this issue, no file attached.

shil-m commented 2 years ago

#11 Creating a game with Qisge and write a step by step guide on how to do it.pdf

I am not sure why that happened earlier. I hope this works. @HuangJunye

wslu42 commented 2 years ago

all good! I still have old template so didn't pin you in that message. Thanks! @HuangJunye

wslu42 commented 2 years ago

This past month I started to use qisge to re-write my previous quantum game qshooter. I completed mostly front-end works in the past month:

  1. Understand programming flow for qisge
  2. Basic game layout for graphics
  3. Taking user input and use as in-game movements

I will be working on the backend including quantum simulator and collisions detection etc in the following month and complete tutorial codes.

  1. Taking circuit commands and send it to simulator backend for quantum state evaluation
  2. Implement collision detection in qisge
  3. Organize step-by-step tutorials for writing quantum games with qisge

ani

shil-m commented 2 years ago

Since checkpoint-1, I have tried setting up different backgrounds and movements of sprites to learn how Qisge works in the Unity platform. I have worked on game movements and frame changes based on the user inputs. I have decided on the logic of the game and have created the interface for the main menu as shown below. This month I will be working on creating the rest of the game i.e. implementing the logic and completing the creation of the UI interface. Lastly, I will work on making the tutorial for the game which will help people get familiar with Qisge and programming. Screenshot (296)

wslu42 commented 2 years ago

I have created a place holder and will be populating the writing guide for this project here. Need some more time working on the content... https://github.com/wslu42/qfireman_qisge

shil-m commented 2 years ago

Please refer to this game folder: https://github.com/shil-m/SwappingQubits (Status: Updating)