CROSSWORD!! - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

CROSSWORD!!

falalafalala Posts: 1Member
i am making a crosword puzzle just like everybody does using pascal
i am using 2D-array (array [1..11,1..9] of char) to do it
however i encountered a lot of problems when doing it.

firstly i dunno how to make the following:
xxxxxxxx1x
xxxxx2xxox
xxx3xoxxox
xxxoxoxxox
4oooooooox
xxxoxxxxxx
xx5ooooxxx
xxxoxxxxxx
6oooxxxxxx
xx7oooooox
xxxoxxxxxx

the 'x' is just the puzzlefield

whenever the 'x' is occupied by 'o', it idicates that there's a word for players to guess

the 'number' (i.e 1,2,3,4,5,6,7) is for players to choose which 'word' he or she wants to guess

DO help me with this as i have to hand in this real soon.

THANKS A LOT

Comments

  • zibadianzibadian Posts: 6,349Member
    : i am making a crosword puzzle just like everybody does using pascal
    : i am using 2D-array (array [1..11,1..9] of char) to do it
    : however i encountered a lot of problems when doing it.
    :
    : firstly i dunno how to make the following:
    : xxxxxxxx1x
    : xxxxx2xxox
    : xxx3xoxxox
    : xxxoxoxxox
    : 4oooooooox
    : xxxoxxxxxx
    : xx5ooooxxx
    : xxxoxxxxxx
    : 6oooxxxxxx
    : xx7oooooox
    : xxxoxxxxxx
    :
    : the 'x' is just the puzzlefield
    :
    : whenever the 'x' is occupied by 'o', it idicates that there's a word for players to guess
    :
    : the 'number' (i.e 1,2,3,4,5,6,7) is for players to choose which 'word' he or she wants to guess
    :
    : DO help me with this as i have to hand in this real soon.
    :
    : THANKS A LOT
    :
    :
    I posted a working example recently. Also various other people have asked this question, and their code is posted in previous threads.
Sign In or Register to comment.