Skip to content

add games folder and simple game demonstrating nu code concepts#1100

Merged
fdncred merged 2 commits intonushell:mainfrom
kiil:main
Apr 22, 2025
Merged

add games folder and simple game demonstrating nu code concepts#1100
fdncred merged 2 commits intonushell:mainfrom
kiil:main

Conversation

@kiil
Copy link
Copy Markdown
Contributor

@kiil kiil commented Apr 22, 2025

I'd like to contribute this game.

The code exemplifies several nu concepts.

@freepicheep
Copy link
Copy Markdown

I get an error when I run the "talk" command.
CleanShot 2025-04-22 at 12 09 58

@fdncred
Copy link
Copy Markdown
Contributor

fdncred commented Apr 22, 2025

I'm fine with a games folder but it should probably be games\your_game_name\script.nu and on the same level as script.nu there should be a readme.md that helps explain what this game is.

@kiil
Copy link
Copy Markdown
Contributor Author

kiil commented Apr 22, 2025

@freepicheep I'll fix the error when no character is given after the talk command.

@fdncred Good idea. I'll adjust accordingly.

@kiil
Copy link
Copy Markdown
Contributor Author

kiil commented Apr 22, 2025

I have fixed the bug and adjusted the folder directory and provided a README.md file.

@fdncred
Copy link
Copy Markdown
Contributor

fdncred commented Apr 22, 2025

Thanks

@fdncred fdncred merged commit 67e74c5 into nushell:main Apr 22, 2025
1 check passed
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.

3 participants