duco-lisp/main.lisp

22 lines
569 B
Common Lisp
Raw Normal View History

2021-03-21 00:34:18 +00:00
(defvar username)
2021-04-18 22:34:52 +00:00
(defparameter serverip "https://raw.githubusercontent.com/revoxhere/duino-coin/gh-pages/serverip.txt")
2021-03-21 00:34:18 +00:00
(defun get-username (prompt) ; utilities function to get username
(clear-input)
(write-string prompt)
(finish-output)
(setf username (read-line)))
(defun init()
(get-username "Enter username: ")
(format t "Hello ~c[32m~a~c[0m! Welcome to the ~c[33mDuinocoin~c[0m lisp miner! ~%" #\ESC username #\ESC #\ESC #\ESC)
)
2021-04-18 22:34:52 +00:00
(defun actually_mine()
(loop
()
)
)
2021-03-21 00:34:18 +00:00
(init)