|
Pollyanna posted:I feel like I'm doing something horribly wrong here. There's lets everywhere, a whole bunch of code repetition, and overall the whole thing feels way too verbose and weird. I tried to take a top-down approach with programming the game, but I feel like I totally missed the mark. I'm not entirely sure if my approach of making Player and Card records was a good one, and I don't feel like I'm really taking advantage of Clojure's strengths here. Here's a pretty great talk from the last Clojure/conj about implementing a card/board game from the bottom-up. Maybe this kind of approach would work better for you? https://www.youtube.com/watch?v=Tb823aqgX_0
|
# ¿ Feb 21, 2016 07:27 |
|
|
# ¿ May 15, 2024 01:49 |