(ns test.core)

(defn user_input []
  (println  "enter number: ")
  (read-string (read-line)))

(defn check_n [game_num]
  ; (println game_num) : de-bug
  (def player_num (user_input))
  (cond
    (< player_num game_num)
      ((println "less than game's!")
      (check_n game_num)) 
    (> player_num game_num)
      ((println "more than game's!")
      (check_n game_num))
    (= player_num game_num)
      ((println "you're wiener, haha!!!"))))

(defn start_game [x] (
    (def game_num (rand-int x))
    (check_n game_num)))

Изменить пасту