pegthing icon indicating copy to clipboard operation
pegthing copied to clipboard

Results 8 pegthing issues
Sort by recently updated
recently updated
newest added

Boards with 1 and 2 rows never have a valid move. Boards with 3 rows with the wrong initial peg remove, also do not have a valid move. This change...

In `project.clj` I updated ` :dependencies [[org.clojure/clojure "1.10.1"]]`. Furthermore I add to change ``` (ns pegthing.core (:gen-class)) ``` since set is loaded with clojure.core now.

I believe this is because you're using `require` not `:require`, not that the code is even necessary anymore with set being built into clojure.core.

Here is how it goes in the repl: ``` Get ready to play peg thing! How many rows? [5] 7 Here's your board: a0 b0 c0 d0 e0 f0 g0...

There is a bug here: https://github.com/flyingmachine/pegthing/blob/master/src/pegthing/core.clj#L98-L100 Should be: ``` (defn valid-moves "Return a map of all valid moves for pos, where the key is the destination and the value is...

I've been following along with the book _Clojure for the Brave and True_ and I've noticed a few issues. In the book examples, `(require)` is used, when it should be...

Hello Daniel, as you said "Pull requests [...] are very much welcome!", here they come ... 1) the "clojure.set" library is not used anywhere, 2) the visual representation of the...

![capture](https://cloud.githubusercontent.com/assets/54350/11102521/f109e352-88b4-11e5-92ea-98c496191750.PNG) I'm sure I can find ways around this but it's a bit annoying :-/