Skip to content

themaincharacter/codechallenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

codechallenges

place to show off(be embaressed) about code from my codechallenges

contents

  1. numbers game

  2. Lowest cost path

  3. Online matchmaking

  4. more to come soon (hopefully)

============== 1)numbers game

code written for devdraft code chellenge, my first entered. Goal of the game was to predict whether to go first or second given an input of x pairs of 3 numbers and versing an assumed intelegent A.I. I think I gave a good explanation of my code in the comments of the code itself so for my implementation see that.

================== 2)Lowest cost path

for devdraft challenge, need to find the path of lowest cost between train paths where switching between trains was allowed when at the same path. I basically went the route of storing all possible outcomes and then finding the minimum cost path out of all the sums possible.

==================== 3)Online matchmaking

last one for dedraft challenge, this was a fun one that hit at home. basically as the name applies. Given player ids, elos(ranking), and status (offline or online). This was a pretty straight forward problem.

About

place to show off(be embaressed) about code from my codechallenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published