Repo to keep track of miscellanous Python projects Link to the repo : (https://github.com/MarcReffay/python_codes.git)
-
Codingame Zombie puzzle This project is a solution of the puzzle from Codingame [Code vs Zombie] https://www.codingame.com/multiplayer/optimization/code-vs-zombies First solution is classed 4 461 over 13 200 solutions classed (ie that passed all the test sets. Mor that 26 000 participants on the puzzle) Second solution is classed 3 373 over 13 200 solutions
-
Codingame spring challenge 2022 This project is a solution of the spring challenge from Codingame introduced here : https://www.youtube.com/watch?v=MyHjWftmMfQ It is a really defensive solution, based on not losing life and win the game by getting many mana, which is the way to win in case none of the players has lost all his lives at the end of a given number of turns It can really be approved by defining for example an offensive hero that will guide spiders to the other player's base to make him lose lives but this better solution is not implemented here The solution introduced is effective in silver league but could not lead to gold league
-
Super calculator puzzle This puzzle is a planning issue. We have n scientists giving the day they can start using the computer and how long it will take. Two scientists can't use the computer in the same time and we're looking for the maximum number of scientists we can satisfy. The solution first sorts the n plannings by end of date and then we decide one task after another if a task is to take into account