Skip to content

Comments

Add camicia#633

Merged
ryanplusplus merged 6 commits intoexercism:mainfrom
BNAndras:add-camicia
Feb 24, 2026
Merged

Add camicia#633
ryanplusplus merged 6 commits intoexercism:mainfrom
BNAndras:add-camicia

Conversation

@BNAndras
Copy link
Member

Adaptation of my MoonScript implementation.

@@ -0,0 +1,4 @@
local function simulateGame(playerA, playerB)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use snake case here?

Comment on lines 61 to 62
else
if currentDebt > 0 then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can collapse this into an elseif to eliminate an indent here


while true do
if #pile == 0 then
local round = table.concat(handA, ",") .. "|" .. table.concat(handB, ",") .. "|" .. turn
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency, can you use single quotes here to match the rest of the file?

Copy link
Member

@ryanplusplus ryanplusplus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ryanplusplus ryanplusplus merged commit f024c0c into exercism:main Feb 24, 2026
3 checks passed
@BNAndras BNAndras deleted the add-camicia branch February 24, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants