Open cagdasgerede opened 3 years ago
I would like to work on this issue. Fatma Sena Ekiz 191101022
Sana gönderdiğim daveti kabul etmen gerekiyor. Epostanı kontrol et.
Bu arada projeyi bilgisayarında çalıştırmayı denediğini ve bir sorun yaşamadığını varsayıyorum.
Implement a set of item types such that the player can change any such type to one of the predefined shapes.
While the item is falling down, the player can press a key to change it to the next shape. When it hits another block, that is when it should be automatically finalized to its shape.
Each item type should have its own sound when it is dropping. Also, the number of key presses needed to modify the shape may to the next shape may vary based on the item type. Each item type should also have a special look to it so it is clear to the player what the item is about.
Create a hierarchy of such item types and make use of polymorphism to prevent any unnecessary code duplication. Try to share as much common code as possible. It should be easy to extend your code to add new item types.
Ensure the music and sounds are copyright free. Also in the code provide a reference to where you found the music/sound files from. Ensure that the files are not too large. You can use looping to make some background music to keep playing instead of a very long music file, for example.