The-Spaghetti-Is-Ready / ICT371-Project

2024 Semester 1 ICT371 project
Other
2 stars 0 forks source link

Memory Game: Card Logic #15

Closed jdilanzo closed 2 months ago

jdilanzo commented 4 months ago

Description

Created some basic scripted logic for a simple memory card game using a standard 52-card deck. Lots of files in the PR so probably just focus on the scripts or checkout locally and play around.

Included necessary models, materials, and textures from Free Playing Cards Pack on the Unity Asset Store. Included custom modifications to update the asset for the URP and adjust their shaders to be compatible and up-to-date. Materials could do with some specular (and maybe even slight normal) mapping to respond better to light sources.

This comes with a little sample scene (mini-game) in Levels/Scenes/MemoryGame_TestScene.unity. You can play the memory game itself to see how it functions. Currently 52 cards on the board, so it can be a little tricky at the start. The mini-game doesn't currently have a 'win' or exit condition, so once all the cards are gone you'll need to quit the scene yourself.

TODO: Extend the memory game logic and add some kind of 'scoring' system that ties in nicely with the overall simulation. Potentially implement rules for a game like Go Fish as well. TODO: Add support mechanisms for XR interaction.

Addresses and closes #9.

Changelist:

0V3RW4TC11 commented 2 months ago

closing this PR as these changes were merged into the pc/vr-prototype builds