Giter VIP home page Giter VIP logo

pegthing's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pegthing's Issues

error when number of rows bigger than 6

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 h0 i0 j0
       k0 l0 m0 n0 o0
      p0 q0 r0 s0 t0 u0

    IndexOutOfBoundsException   clojure.lang.RT.nthFrom (RT.java:795)

Issues when working with Clojure for the Brave and True

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 (:require).

Additionally, some of the functions are referred to in the book, but their code is not shown in the book itself (e.g. colorize, strings-as-characters, etc.) Perhaps the tutorial is meant to go along with the code repo (which does work), but I was trying to build it from scratch using only the examples in the book and I couldn't get it to compile without downloading this repo and changing certain things and copying over the missing functions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.