Add prompts.txt

This commit is contained in:
Stone_Red
2025-12-22 16:50:27 +01:00
parent 488c274dcd
commit e868a78180
+7
View File
@@ -0,0 +1,7 @@
please refactor this into multiple files
refactor this go program to use two classes Card, Hand and two use pointer receivers
Create a go test file hand_test.go to test the Hand struct according to go conventions. The tests must cover:
Correct evaluation of different hand values.
Comparison logic between two different hands.
The 'best hand' selection logic from 7 cards. After writing the tests, provide the command to run these tests and
generate a test report including code coverage."