something like this:
for rayangle=cameraangle-fov/2 to cameraang+fov/2 step fov/horizon
' this is where you cast rays
' if you hit a wall draw a vertical line with a height according to the distance of the wall from you(the length of the ray)
next
1そうだね プレイ済み