diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index 8f63a38..0000000
Binary files a/.DS_Store and /dev/null differ
diff --git a/.gitignore b/.gitignore
index 5b8c8bd..1e50415 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+.DS_Store
+
tmp.*
.env
diff --git a/Scarb.toml b/Scarb.toml
index 0a18d64..d6893a7 100644
--- a/Scarb.toml
+++ b/Scarb.toml
@@ -4,7 +4,7 @@ version = "0.1.0"
[dependencies]
starknet = "2.1.1"
-openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts", rev = "05429e4" }
+openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts", rev = "v0.7.0" }
[scripts]
test = "scarb cairo-test"
diff --git a/assets/.DS_Store b/assets/.DS_Store
index 5008ddf..138f11c 100644
Binary files a/assets/.DS_Store and b/assets/.DS_Store differ
diff --git a/assets/kam_compressed_102523/t1_balrog.png b/assets/kam_compressed_102523/t1_balrog.png
new file mode 100644
index 0000000..d50df55
Binary files /dev/null and b/assets/kam_compressed_102523/t1_balrog.png differ
diff --git a/assets/kam_compressed_102523/t1_dragon.png b/assets/kam_compressed_102523/t1_dragon.png
new file mode 100644
index 0000000..63db4d4
Binary files /dev/null and b/assets/kam_compressed_102523/t1_dragon.png differ
diff --git a/assets/kam_compressed_102523/t1_griffin.png b/assets/kam_compressed_102523/t1_griffin.png
new file mode 100644
index 0000000..59b6324
Binary files /dev/null and b/assets/kam_compressed_102523/t1_griffin.png differ
diff --git a/assets/kam_compressed_102523/t1_jiansgshi.png b/assets/kam_compressed_102523/t1_jiansgshi.png
new file mode 100644
index 0000000..3de4509
Binary files /dev/null and b/assets/kam_compressed_102523/t1_jiansgshi.png differ
diff --git a/assets/kam_compressed_102523/t1_juggernaut.png b/assets/kam_compressed_102523/t1_juggernaut.png
new file mode 100644
index 0000000..454540a
Binary files /dev/null and b/assets/kam_compressed_102523/t1_juggernaut.png differ
diff --git a/assets/kam_compressed_102523/t1_manticore.png b/assets/kam_compressed_102523/t1_manticore.png
new file mode 100644
index 0000000..b97bbaa
Binary files /dev/null and b/assets/kam_compressed_102523/t1_manticore.png differ
diff --git a/assets/kam_compressed_102523/t1_minotaur.png b/assets/kam_compressed_102523/t1_minotaur.png
new file mode 100644
index 0000000..f52d4c9
Binary files /dev/null and b/assets/kam_compressed_102523/t1_minotaur.png differ
diff --git a/assets/kam_compressed_102523/t2_chimera.png b/assets/kam_compressed_102523/t2_chimera.png
new file mode 100644
index 0000000..423a560
Binary files /dev/null and b/assets/kam_compressed_102523/t2_chimera.png differ
diff --git a/assets/kam_compressed_102523/t2_chupacabra.png b/assets/kam_compressed_102523/t2_chupacabra.png
new file mode 100644
index 0000000..ab8ac8f
Binary files /dev/null and b/assets/kam_compressed_102523/t2_chupacabra.png differ
diff --git a/assets/kam_compressed_102523/t2_hydra.png b/assets/kam_compressed_102523/t2_hydra.png
new file mode 100644
index 0000000..7f6c751
Binary files /dev/null and b/assets/kam_compressed_102523/t2_hydra.png differ
diff --git a/assets/kam_compressed_102523/t2_juggernaut.png b/assets/kam_compressed_102523/t2_juggernaut.png
new file mode 100644
index 0000000..5c432a9
Binary files /dev/null and b/assets/kam_compressed_102523/t2_juggernaut.png differ
diff --git a/assets/kam_compressed_102523/t2_lich.png b/assets/kam_compressed_102523/t2_lich.png
new file mode 100644
index 0000000..c7a1d5f
Binary files /dev/null and b/assets/kam_compressed_102523/t2_lich.png differ
diff --git a/assets/kam_compressed_102523/t2_nephilim.png b/assets/kam_compressed_102523/t2_nephilim.png
new file mode 100644
index 0000000..26e9fa4
Binary files /dev/null and b/assets/kam_compressed_102523/t2_nephilim.png differ
diff --git a/assets/kam_compressed_102523/t2_nue.png b/assets/kam_compressed_102523/t2_nue.png
new file mode 100644
index 0000000..1cadca2
Binary files /dev/null and b/assets/kam_compressed_102523/t2_nue.png differ
diff --git a/assets/kam_compressed_102523/t2_qilin.png b/assets/kam_compressed_102523/t2_qilin.png
new file mode 100644
index 0000000..cefe887
Binary files /dev/null and b/assets/kam_compressed_102523/t2_qilin.png differ
diff --git a/assets/kam_compressed_102523/t3_banshee.png b/assets/kam_compressed_102523/t3_banshee.png
new file mode 100644
index 0000000..986275c
Binary files /dev/null and b/assets/kam_compressed_102523/t3_banshee.png differ
diff --git a/assets/kam_compressed_102523/t3_cyclops.png b/assets/kam_compressed_102523/t3_cyclops.png
new file mode 100644
index 0000000..2a9b0af
Binary files /dev/null and b/assets/kam_compressed_102523/t3_cyclops.png differ
diff --git a/assets/kam_compressed_102523/t3_giant.png b/assets/kam_compressed_102523/t3_giant.png
new file mode 100644
index 0000000..3b072c7
Binary files /dev/null and b/assets/kam_compressed_102523/t3_giant.png differ
diff --git a/assets/kam_compressed_102523/t3_harpy.png b/assets/kam_compressed_102523/t3_harpy.png
new file mode 100644
index 0000000..35435dc
Binary files /dev/null and b/assets/kam_compressed_102523/t3_harpy.png differ
diff --git a/assets/kam_compressed_102523/t3_vampire.png b/assets/kam_compressed_102523/t3_vampire.png
new file mode 100644
index 0000000..f6f73c8
Binary files /dev/null and b/assets/kam_compressed_102523/t3_vampire.png differ
diff --git a/assets/kam_compressed_102523/t3_weretiger.png b/assets/kam_compressed_102523/t3_weretiger.png
new file mode 100644
index 0000000..8c955f3
Binary files /dev/null and b/assets/kam_compressed_102523/t3_weretiger.png differ
diff --git a/assets/kam_compressed_102523/t3_werewolf.png b/assets/kam_compressed_102523/t3_werewolf.png
new file mode 100644
index 0000000..76b01a2
Binary files /dev/null and b/assets/kam_compressed_102523/t3_werewolf.png differ
diff --git a/assets/kam_compressed_102523/t3_wyvern.png b/assets/kam_compressed_102523/t3_wyvern.png
new file mode 100644
index 0000000..609e768
Binary files /dev/null and b/assets/kam_compressed_102523/t3_wyvern.png differ
diff --git a/assets/kam_compressed_102523/t4_direwolf.png b/assets/kam_compressed_102523/t4_direwolf.png
new file mode 100644
index 0000000..8e35244
Binary files /dev/null and b/assets/kam_compressed_102523/t4_direwolf.png differ
diff --git a/assets/kam_compressed_102523/t4_fenrir.png b/assets/kam_compressed_102523/t4_fenrir.png
new file mode 100644
index 0000000..a25830b
Binary files /dev/null and b/assets/kam_compressed_102523/t4_fenrir.png differ
diff --git a/assets/kam_compressed_102523/t4_ghoul.png b/assets/kam_compressed_102523/t4_ghoul.png
new file mode 100644
index 0000000..d230c53
Binary files /dev/null and b/assets/kam_compressed_102523/t4_ghoul.png differ
diff --git a/assets/kam_compressed_102523/t4_goblin.png b/assets/kam_compressed_102523/t4_goblin.png
new file mode 100644
index 0000000..aad0470
Binary files /dev/null and b/assets/kam_compressed_102523/t4_goblin.png differ
diff --git a/assets/kam_compressed_102523/t4_golem.png b/assets/kam_compressed_102523/t4_golem.png
new file mode 100644
index 0000000..6f0e7c6
Binary files /dev/null and b/assets/kam_compressed_102523/t4_golem.png differ
diff --git a/assets/kam_compressed_102523/t4_hippogriff.png b/assets/kam_compressed_102523/t4_hippogriff.png
new file mode 100644
index 0000000..a7aa0ff
Binary files /dev/null and b/assets/kam_compressed_102523/t4_hippogriff.png differ
diff --git a/assets/kam_compressed_102523/t4_jaguar.png b/assets/kam_compressed_102523/t4_jaguar.png
new file mode 100644
index 0000000..30ed562
Binary files /dev/null and b/assets/kam_compressed_102523/t4_jaguar.png differ
diff --git a/assets/kam_compressed_102523/t4_kappa.png b/assets/kam_compressed_102523/t4_kappa.png
new file mode 100644
index 0000000..a9fb12d
Binary files /dev/null and b/assets/kam_compressed_102523/t4_kappa.png differ
diff --git a/assets/kam_compressed_102523/t4_sprite.png b/assets/kam_compressed_102523/t4_sprite.png
new file mode 100644
index 0000000..3ca52b5
Binary files /dev/null and b/assets/kam_compressed_102523/t4_sprite.png differ
diff --git a/assets/kam_compressed_102523/t4_wraith.png b/assets/kam_compressed_102523/t4_wraith.png
new file mode 100644
index 0000000..c54197d
Binary files /dev/null and b/assets/kam_compressed_102523/t4_wraith.png differ
diff --git a/assets/kam_compressed_102523/t5_bear.png b/assets/kam_compressed_102523/t5_bear.png
new file mode 100644
index 0000000..04246e9
Binary files /dev/null and b/assets/kam_compressed_102523/t5_bear.png differ
diff --git a/assets/kam_compressed_102523/t5_fairy.png b/assets/kam_compressed_102523/t5_fairy.png
new file mode 100644
index 0000000..8e547ff
Binary files /dev/null and b/assets/kam_compressed_102523/t5_fairy.png differ
diff --git a/assets/kam_compressed_102523/t5_kelpie.png b/assets/kam_compressed_102523/t5_kelpie.png
new file mode 100644
index 0000000..afd3dd2
Binary files /dev/null and b/assets/kam_compressed_102523/t5_kelpie.png differ
diff --git a/assets/kam_compressed_102523/t5_pixie.png b/assets/kam_compressed_102523/t5_pixie.png
new file mode 100644
index 0000000..a3b8f94
Binary files /dev/null and b/assets/kam_compressed_102523/t5_pixie.png differ
diff --git a/assets/kam_compressed_102523/t5_rat.png b/assets/kam_compressed_102523/t5_rat.png
new file mode 100644
index 0000000..77a3b60
Binary files /dev/null and b/assets/kam_compressed_102523/t5_rat.png differ
diff --git a/assets/kam_compressed_102523/t5_skeleton.png b/assets/kam_compressed_102523/t5_skeleton.png
new file mode 100644
index 0000000..7c5b8c3
Binary files /dev/null and b/assets/kam_compressed_102523/t5_skeleton.png differ
diff --git a/assets/kam_compressed_102523/t5_wolf.png b/assets/kam_compressed_102523/t5_wolf.png
new file mode 100644
index 0000000..1e9632b
Binary files /dev/null and b/assets/kam_compressed_102523/t5_wolf.png differ
diff --git a/assets/t1_anansi.png b/assets/snapshot_072323/t1_anansi.png
similarity index 100%
rename from assets/t1_anansi.png
rename to assets/snapshot_072323/t1_anansi.png
diff --git a/assets/t1_balrog.png b/assets/snapshot_072323/t1_balrog.png
similarity index 100%
rename from assets/t1_balrog.png
rename to assets/snapshot_072323/t1_balrog.png
diff --git a/assets/t1_basilisk.png b/assets/snapshot_072323/t1_basilisk.png
similarity index 100%
rename from assets/t1_basilisk.png
rename to assets/snapshot_072323/t1_basilisk.png
diff --git a/assets/t1_colossus.png b/assets/snapshot_072323/t1_colossus.png
similarity index 100%
rename from assets/t1_colossus.png
rename to assets/snapshot_072323/t1_colossus.png
diff --git a/assets/t1_dragon.png b/assets/snapshot_072323/t1_dragon.png
similarity index 100%
rename from assets/t1_dragon.png
rename to assets/snapshot_072323/t1_dragon.png
diff --git a/assets/t1_griffin.png b/assets/snapshot_072323/t1_griffin.png
similarity index 100%
rename from assets/t1_griffin.png
rename to assets/snapshot_072323/t1_griffin.png
diff --git a/assets/t1_jiangshi.png b/assets/snapshot_072323/t1_jiangshi.png
similarity index 100%
rename from assets/t1_jiangshi.png
rename to assets/snapshot_072323/t1_jiangshi.png
diff --git a/assets/t1_kraken.png b/assets/snapshot_072323/t1_kraken.png
similarity index 100%
rename from assets/t1_kraken.png
rename to assets/snapshot_072323/t1_kraken.png
diff --git a/assets/t1_leviathan.png b/assets/snapshot_072323/t1_leviathan.png
similarity index 100%
rename from assets/t1_leviathan.png
rename to assets/snapshot_072323/t1_leviathan.png
diff --git a/assets/t1_manticore.png b/assets/snapshot_072323/t1_manticore.png
similarity index 100%
rename from assets/t1_manticore.png
rename to assets/snapshot_072323/t1_manticore.png
diff --git a/assets/t1_minotaur.png b/assets/snapshot_072323/t1_minotaur.png
similarity index 100%
rename from assets/t1_minotaur.png
rename to assets/snapshot_072323/t1_minotaur.png
diff --git a/assets/t1_phoenix.png b/assets/snapshot_072323/t1_phoenix.png
similarity index 100%
rename from assets/t1_phoenix.png
rename to assets/snapshot_072323/t1_phoenix.png
diff --git a/assets/t1_tarrasque.png b/assets/snapshot_072323/t1_tarrasque.png
similarity index 100%
rename from assets/t1_tarrasque.png
rename to assets/snapshot_072323/t1_tarrasque.png
diff --git a/assets/t1_typhon.png b/assets/snapshot_072323/t1_typhon.png
similarity index 100%
rename from assets/t1_typhon.png
rename to assets/snapshot_072323/t1_typhon.png
diff --git a/assets/t1_warlock.png b/assets/snapshot_072323/t1_warlock.png
similarity index 100%
rename from assets/t1_warlock.png
rename to assets/snapshot_072323/t1_warlock.png
diff --git a/assets/t2_ammit.png b/assets/snapshot_072323/t2_ammit.png
similarity index 100%
rename from assets/t2_ammit.png
rename to assets/snapshot_072323/t2_ammit.png
diff --git a/assets/t2_behemoth.png b/assets/snapshot_072323/t2_behemoth.png
similarity index 100%
rename from assets/t2_behemoth.png
rename to assets/snapshot_072323/t2_behemoth.png
diff --git a/assets/t2_chimera.png b/assets/snapshot_072323/t2_chimera.png
similarity index 100%
rename from assets/t2_chimera.png
rename to assets/snapshot_072323/t2_chimera.png
diff --git a/assets/t2_chupacabra.png b/assets/snapshot_072323/t2_chupacabra.png
similarity index 100%
rename from assets/t2_chupacabra.png
rename to assets/snapshot_072323/t2_chupacabra.png
diff --git a/assets/t2_gorgon.png b/assets/snapshot_072323/t2_gorgon.png
similarity index 100%
rename from assets/t2_gorgon.png
rename to assets/snapshot_072323/t2_gorgon.png
diff --git a/assets/t2_hydra.png b/assets/snapshot_072323/t2_hydra.png
similarity index 100%
rename from assets/t2_hydra.png
rename to assets/snapshot_072323/t2_hydra.png
diff --git a/assets/t2_juggernaut.png b/assets/snapshot_072323/t2_juggernaut.png
similarity index 100%
rename from assets/t2_juggernaut.png
rename to assets/snapshot_072323/t2_juggernaut.png
diff --git a/assets/t2_kitsune.png b/assets/snapshot_072323/t2_kitsune.png
similarity index 100%
rename from assets/t2_kitsune.png
rename to assets/snapshot_072323/t2_kitsune.png
diff --git a/assets/t2_lich.png b/assets/snapshot_072323/t2_lich.png
similarity index 100%
rename from assets/t2_lich.png
rename to assets/snapshot_072323/t2_lich.png
diff --git a/assets/t2_nephilim.png b/assets/snapshot_072323/t2_nephilim.png
similarity index 100%
rename from assets/t2_nephilim.png
rename to assets/snapshot_072323/t2_nephilim.png
diff --git a/assets/t2_nue.png b/assets/snapshot_072323/t2_nue.png
similarity index 100%
rename from assets/t2_nue.png
rename to assets/snapshot_072323/t2_nue.png
diff --git a/assets/t2_qilin.png b/assets/snapshot_072323/t2_qilin.png
similarity index 100%
rename from assets/t2_qilin.png
rename to assets/snapshot_072323/t2_qilin.png
diff --git a/assets/t2_skinwalker.png b/assets/snapshot_072323/t2_skinwalker.png
similarity index 100%
rename from assets/t2_skinwalker.png
rename to assets/snapshot_072323/t2_skinwalker.png
diff --git a/assets/t2_titan.png b/assets/snapshot_072323/t2_titan.png
similarity index 100%
rename from assets/t2_titan.png
rename to assets/snapshot_072323/t2_titan.png
diff --git a/assets/t2_wendigo.png b/assets/snapshot_072323/t2_wendigo.png
similarity index 100%
rename from assets/t2_wendigo.png
rename to assets/snapshot_072323/t2_wendigo.png
diff --git a/assets/t3_banshee.png b/assets/snapshot_072323/t3_banshee.png
similarity index 100%
rename from assets/t3_banshee.png
rename to assets/snapshot_072323/t3_banshee.png
diff --git a/assets/t3_cyclops.png b/assets/snapshot_072323/t3_cyclops.png
similarity index 100%
rename from assets/t3_cyclops.png
rename to assets/snapshot_072323/t3_cyclops.png
diff --git a/assets/t3_draugr.png b/assets/snapshot_072323/t3_draugr.png
similarity index 100%
rename from assets/t3_draugr.png
rename to assets/snapshot_072323/t3_draugr.png
diff --git a/assets/t3_ettin.png b/assets/snapshot_072323/t3_ettin.png
similarity index 100%
rename from assets/t3_ettin.png
rename to assets/snapshot_072323/t3_ettin.png
diff --git a/assets/t3_giant.png b/assets/snapshot_072323/t3_giant.png
similarity index 100%
rename from assets/t3_giant.png
rename to assets/snapshot_072323/t3_giant.png
diff --git a/assets/t3_harpy.png b/assets/snapshot_072323/t3_harpy.png
similarity index 100%
rename from assets/t3_harpy.png
rename to assets/snapshot_072323/t3_harpy.png
diff --git a/assets/t3_jotunn.png b/assets/snapshot_072323/t3_jotunn.png
similarity index 100%
rename from assets/t3_jotunn.png
rename to assets/snapshot_072323/t3_jotunn.png
diff --git a/assets/t3_oni.png b/assets/snapshot_072323/t3_oni.png
similarity index 100%
rename from assets/t3_oni.png
rename to assets/snapshot_072323/t3_oni.png
diff --git a/assets/t3_pegasus.png b/assets/snapshot_072323/t3_pegasus.png
similarity index 100%
rename from assets/t3_pegasus.png
rename to assets/snapshot_072323/t3_pegasus.png
diff --git a/assets/t3_rakshasa.png b/assets/snapshot_072323/t3_rakshasa.png
similarity index 100%
rename from assets/t3_rakshasa.png
rename to assets/snapshot_072323/t3_rakshasa.png
diff --git a/assets/t3_roc.png b/assets/snapshot_072323/t3_roc.png
similarity index 100%
rename from assets/t3_roc.png
rename to assets/snapshot_072323/t3_roc.png
diff --git a/assets/t3_vampire.png b/assets/snapshot_072323/t3_vampire.png
similarity index 100%
rename from assets/t3_vampire.png
rename to assets/snapshot_072323/t3_vampire.png
diff --git a/assets/t3_weretiger.png b/assets/snapshot_072323/t3_weretiger.png
similarity index 100%
rename from assets/t3_weretiger.png
rename to assets/snapshot_072323/t3_weretiger.png
diff --git a/assets/t3_werewolf.png b/assets/snapshot_072323/t3_werewolf.png
similarity index 100%
rename from assets/t3_werewolf.png
rename to assets/snapshot_072323/t3_werewolf.png
diff --git a/assets/t3_wyvern.png b/assets/snapshot_072323/t3_wyvern.png
similarity index 100%
rename from assets/t3_wyvern.png
rename to assets/snapshot_072323/t3_wyvern.png
diff --git a/assets/t4_berserker.png b/assets/snapshot_072323/t4_berserker.png
similarity index 100%
rename from assets/t4_berserker.png
rename to assets/snapshot_072323/t4_berserker.png
diff --git a/assets/t4_direwolf.png b/assets/snapshot_072323/t4_direwolf.png
similarity index 100%
rename from assets/t4_direwolf.png
rename to assets/snapshot_072323/t4_direwolf.png
diff --git a/assets/t4_ent.png b/assets/snapshot_072323/t4_ent.png
similarity index 100%
rename from assets/t4_ent.png
rename to assets/snapshot_072323/t4_ent.png
diff --git a/assets/t4_fenrir.png b/assets/snapshot_072323/t4_fenrir.png
similarity index 100%
rename from assets/t4_fenrir.png
rename to assets/snapshot_072323/t4_fenrir.png
diff --git a/assets/t4_ghoul.png b/assets/snapshot_072323/t4_ghoul.png
similarity index 100%
rename from assets/t4_ghoul.png
rename to assets/snapshot_072323/t4_ghoul.png
diff --git a/assets/t4_goblin.png b/assets/snapshot_072323/t4_goblin.png
similarity index 100%
rename from assets/t4_goblin.png
rename to assets/snapshot_072323/t4_goblin.png
diff --git a/assets/t4_golem.png b/assets/snapshot_072323/t4_golem.png
similarity index 100%
rename from assets/t4_golem.png
rename to assets/snapshot_072323/t4_golem.png
diff --git a/assets/t4_hippogriff.png b/assets/snapshot_072323/t4_hippogriff.png
similarity index 100%
rename from assets/t4_hippogriff.png
rename to assets/snapshot_072323/t4_hippogriff.png
diff --git a/assets/t4_jaguar.png b/assets/snapshot_072323/t4_jaguar.png
similarity index 100%
rename from assets/t4_jaguar.png
rename to assets/snapshot_072323/t4_jaguar.png
diff --git a/assets/t4_kappa.png b/assets/snapshot_072323/t4_kappa.png
similarity index 100%
rename from assets/t4_kappa.png
rename to assets/snapshot_072323/t4_kappa.png
diff --git a/assets/t4_nemeanlion.png b/assets/snapshot_072323/t4_nemeanlion.png
similarity index 100%
rename from assets/t4_nemeanlion.png
rename to assets/snapshot_072323/t4_nemeanlion.png
diff --git a/assets/t4_satori.png b/assets/snapshot_072323/t4_satori.png
similarity index 100%
rename from assets/t4_satori.png
rename to assets/snapshot_072323/t4_satori.png
diff --git a/assets/t4_sprite.png b/assets/snapshot_072323/t4_sprite.png
similarity index 100%
rename from assets/t4_sprite.png
rename to assets/snapshot_072323/t4_sprite.png
diff --git a/assets/t4_wraith.png b/assets/snapshot_072323/t4_wraith.png
similarity index 100%
rename from assets/t4_wraith.png
rename to assets/snapshot_072323/t4_wraith.png
diff --git a/assets/t4_yeti.png b/assets/snapshot_072323/t4_yeti.png
similarity index 100%
rename from assets/t4_yeti.png
rename to assets/snapshot_072323/t4_yeti.png
diff --git a/assets/t5_bear.png b/assets/snapshot_072323/t5_bear.png
similarity index 100%
rename from assets/t5_bear.png
rename to assets/snapshot_072323/t5_bear.png
diff --git a/assets/t5_bigfoot.png b/assets/snapshot_072323/t5_bigfoot.png
similarity index 100%
rename from assets/t5_bigfoot.png
rename to assets/snapshot_072323/t5_bigfoot.png
diff --git a/assets/t5_fairy.png b/assets/snapshot_072323/t5_fairy.png
similarity index 100%
rename from assets/t5_fairy.png
rename to assets/snapshot_072323/t5_fairy.png
diff --git a/assets/t5_gnome.png b/assets/snapshot_072323/t5_gnome.png
similarity index 100%
rename from assets/t5_gnome.png
rename to assets/snapshot_072323/t5_gnome.png
diff --git a/assets/t5_kelpie.png b/assets/snapshot_072323/t5_kelpie.png
similarity index 100%
rename from assets/t5_kelpie.png
rename to assets/snapshot_072323/t5_kelpie.png
diff --git a/assets/t5_leprechaun.png b/assets/snapshot_072323/t5_leprechaun.png
similarity index 100%
rename from assets/t5_leprechaun.png
rename to assets/snapshot_072323/t5_leprechaun.png
diff --git a/assets/t5_mantis.png b/assets/snapshot_072323/t5_mantis.png
similarity index 100%
rename from assets/t5_mantis.png
rename to assets/snapshot_072323/t5_mantis.png
diff --git a/assets/t5_ogre.png b/assets/snapshot_072323/t5_ogre.png
similarity index 100%
rename from assets/t5_ogre.png
rename to assets/snapshot_072323/t5_ogre.png
diff --git a/assets/t5_orc.png b/assets/snapshot_072323/t5_orc.png
similarity index 100%
rename from assets/t5_orc.png
rename to assets/snapshot_072323/t5_orc.png
diff --git a/assets/t5_pixie.png b/assets/snapshot_072323/t5_pixie.png
similarity index 100%
rename from assets/t5_pixie.png
rename to assets/snapshot_072323/t5_pixie.png
diff --git a/assets/t5_rat.png b/assets/snapshot_072323/t5_rat.png
similarity index 100%
rename from assets/t5_rat.png
rename to assets/snapshot_072323/t5_rat.png
diff --git a/assets/t5_skeleton.png b/assets/snapshot_072323/t5_skeleton.png
similarity index 100%
rename from assets/t5_skeleton.png
rename to assets/snapshot_072323/t5_skeleton.png
diff --git a/assets/t5_spider.png b/assets/snapshot_072323/t5_spider.png
similarity index 100%
rename from assets/t5_spider.png
rename to assets/snapshot_072323/t5_spider.png
diff --git a/assets/t5_troll.png b/assets/snapshot_072323/t5_troll.png
similarity index 100%
rename from assets/t5_troll.png
rename to assets/snapshot_072323/t5_troll.png
diff --git a/assets/t5_wolf.png b/assets/snapshot_072323/t5_wolf.png
similarity index 100%
rename from assets/t5_wolf.png
rename to assets/snapshot_072323/t5_wolf.png
diff --git a/scripts/utils.py b/scripts/utils.py
index e302676..83a689f 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -39,30 +39,27 @@ def hex_to_felt(val):
def prep_art():
# header = '"
- assets_dir = "./assets"
+ assets_dir = "./assets/kam_compressed_102523"
for fn in os.listdir(assets_dir):
if not fn.startswith("t"):
continue
with open(f"{assets_dir}/{fn}", "rb") as f:
content = base64.b64encode(f.read()).decode(encoding="utf-8")
- name = fn.split(".png")[0].split("_")[1].upper()
+ name = fn.split(".png")[0].split("_")[1]
to_cairo(name, content)
def to_cairo(name, content):
- print(f"else if beast == {name}")
- print("{")
+ print("#[inline(always)]")
+ print("fn get_" + name + "_svg() -> LongString {")
+ print(" let mut content = ArrayTrait::::new();")
for c in str_to_array(content):
print(f" content.append('{c}');")
+ print(" content.into()")
print("}")
if __name__ == "__main__":
- prep_art()
- print(
- str_to_array(
- 'data:image/svg+xml;utf8,