اطلاعیه

Collapse
No announcement yet.

بازی tetris در ترمینال لینوکس

Collapse
X
 
  • Filter
  • زمان
  • Show
Clear All
new posts

  • بازی tetris در ترمینال لینوکس

    این بازی رو از آدرس زیر میتونید دانلود کنید:
    کد:
    https://github.com/alexdantas/yetris/

    من کامپایل کردم ارور داد! تا حال نشده این فایلهایی که نیاز به کامپایل دارند رو کامپایل کنم و اجرا بشه!!!
    این هم ارور
    کد:
    root@bt:~/yetris-master# make
    * Compiling src/engine.c...
    In file included from src/piece.h:26,
                     from src/game.h:28,
                     from src/engine.c:43:
    src/block.h:39: error: redefinition of typedef ‘block_s’
    src/engine.h:127: note: previous declaration of ‘block_s’ was here
    In file included from src/game.h:28,
                     from src/engine.c:43:
    src/piece.h:45: error: redefinition of typedef ‘board_s’
    src/engine.h:129: note: previous declaration of ‘board_s’ was here
    src/piece.h:57: error: redefinition of typedef ‘piece_s’
    src/engine.h:128: note: previous declaration of ‘piece_s’ was here
    In file included from src/game.h:29,
                     from src/engine.c:43:
    src/board.h:34: error: redefinition of typedef ‘piece_s’
    src/piece.h:57: note: previous declaration of ‘piece_s’ was here
    src/board.h:41: error: redefinition of typedef ‘board_s’
    src/piece.h:45: note: previous declaration of ‘board_s’ was here
    In file included from src/engine.c:43:
    src/game.h:94: error: redefinition of typedef ‘game_s’
    src/engine.h:130: note: previous declaration of ‘game_s’ was here
    make: *** [obj/engine.o] Error 1
    برای کشتن پرنده نیازی به تیرو کمان نیست، همین که بالهایش را بچینی خاطرات پرواز روزی صدبار او را خواهد کشت...

    دوزخیان
Working...
X