Skip to content

dbetteridge/DailyProgrammer

Repository files navigation

DailyProgrammer

Some basic python programs from ideas on the Dailyprogrammer subreddit

  • 4x4 Puzzle solver - Uses A* search to work out the sequence of moves to go from current state to goal state for a 4x4 grid of numbers

  • AStar - My implementation of A* search in python, used for the 4x4 puzzle

  • HelloWorld - Genetic - Simple implementation of a "Genetic" algorithm, uses parents and mutation to try and evolve a random string into the goal string

  • Nonogram Solver - Given correctly formatted input this will solve a nonogram puzzle

    0 0 1 1 0
    1 2 1 1 5
    _
    0 1
    0 2
    1 1
    1 1
    0 5
  • PI gen - Generates PI to x digits

  • Prime sieve - Returns list of all primes below a given value

  • sliceNswitch - takes an array of elements and a blocksize and chops the array into blocksized chunks

  • snipper - removes string toRemove from originalString wherever the toRemove string occurs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages