1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/julia_course.git synced 2024-11-16 13:28:10 +00:00

Add information about not being able to use readline in Pluto

This commit is contained in:
Mo8it 2022-03-29 01:04:11 +02:00
parent 0aecd74746
commit 3a15f98a4e

View file

@ -220,9 +220,9 @@ md"""
**Only for those who have time left and want to try a hard task!**
Now that you know about matrices in Julia, use a matrix to present a XO board.
Now that you know about matrices in Julia, use a matrix to present a Tick-tack-toe board.
To place a X or O, take the user input for the column and row using the function `readline`.
To place `X` or `O`, take the user input for the column and row using the function `readline`. Unfortunately, this does not work in Pluto, so you would have to write a script in a `.jl` file and then run it using `julia FILENAME.jl` in the command line where you replace `FILENAME` with the filename you did choose.
Make sure you update the board after the user input.
@ -235,10 +235,6 @@ You want more?
*BTW: You can use Julia for AI, so the programming language is not the limitation here* 😅
"""
# ╔═╡ 2c68b8a0-694b-4be0-9880-657d9ac1ef09
# Your code starts here
# ╔═╡ 00000000-0000-0000-0000-000000000001
PLUTO_PROJECT_TOML_CONTENTS = """
[deps]
@ -474,7 +470,6 @@ uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
# ╠═53b585dd-aa13-44c1-a3de-988e027ab0c4
# ╟─b08055c9-b6de-4495-9788-ff79928a85ef
# ╟─b6fe803e-1300-4d00-97fa-de6646743f94
# ╠═2c68b8a0-694b-4be0-9880-657d9ac1ef09
# ╟─a9cadc7e-10ce-4242-82af-2849b5f258f8
# ╟─00000000-0000-0000-0000-000000000001
# ╟─00000000-0000-0000-0000-000000000002