Board.KolibriOS.org

Официальный форум KolibriOS
Текущее время: Чт май 25, 2017 6:10 am

Часовой пояс: UTC+03:00




Начать новую тему  Ответить на тему  [ 21 сообщение ]  На страницу 1 2 След.
Автор Сообщение
 Заголовок сообщения: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Чт дек 25, 2014 1:20 pm 
Не в сети

Зарегистрирован: Чт дек 25, 2014 11:52 am
Сообщения: 5
Hello. I've designed and created these 3 games for the competition in the last 2 weeks.
Written in FASM for Kolibri and Windows: https://sourceforge.net/projects/games3/?source=navbar

Binary Master - Fun game for programmers. Select/click bits to match the decimal number in red and make rows disappear. Practice binary arithmetic.
Вложение:
binary_master.jpg
binary_master.jpg [ 52.13 КБ | 2062 просмотра ]


Hang Programmer - Word game with programming terminology
Вложение:
hang_programmer.jpg
hang_programmer.jpg [ 57.69 КБ | 2062 просмотра ]


Kolibri Puzzle Challenge - Uncover the beautiful image
Вложение:
kolibri_puzzle.jpg
kolibri_puzzle.jpg [ 33.16 КБ | 2062 просмотра ]


Not perfect. A little graphics flicker after writing to LFB (gs:x). The documentation is not clear on if or how this interacts with the "background image" and exactly how to redraw when using LFB. Image files are stored inside of the executable.

Windows versions of these games are included in case you don't have Kolibri setup. Source is available to moderators for now. I didn't have time to finish Hang Programmer for Kolibri but it's included anyway.

It was not easy to create these games with no undos (TinyPad), no internet service at home and not knowing how I will survive or pay utilities this month.

Thanks for having this competition. Merry Christmas! :)


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Чт дек 25, 2014 2:45 pm 
Не в сети
Public Relations
Аватара пользователя

Зарегистрирован: Пн июн 07, 2010 12:01 pm
Сообщения: 1879
codemaster писал(а):
Hello. I've designed and created these 3 games for the competition in the last 2 weeks. Written in FASM for Kolibri and Windows.
That's a very nice surprise! :idea: To be honest, I've lost all hopes that a non-Russian-speaker would enter this competition.
codemaster писал(а):
https://sourceforge.net/projects/games3/?source=navbar [...] Source is available to moderators for now.
Unfortunately, according to the rules of our competition, your sources have to be present on our SVN (and your games built from sources on our server), to be eligible to participate. Please let me know if you need help doing this.
codemaster писал(а):
Not perfect. A little graphics flicker after writing to LFB (gs:x). The documentation is not clear on if or how this interacts with the "background image" and exactly how to redraw when using LFB.
Please feel free to ask all your questions here, and we would try our best to answer them.


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Чт дек 25, 2014 4:30 pm 
Не в сети
Kernel Developer
Аватара пользователя

Зарегистрирован: Чт сен 03, 2009 1:52 pm
Сообщения: 1591
LFB is not intended for direct write. It is sufficient to note that it would break the screen contents if the drawing application is not topmost one. LFB access was created for one application - screen shooter - and technical ability to write there is due to unfortunate technical reasons, not because it is allowed to.

_________________
Сделаем мир лучше!


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Пт дек 26, 2014 1:34 am 
Не в сети
Аватара пользователя

Зарегистрирован: Вс май 11, 2014 9:21 pm
Сообщения: 97
The puzzles look very nice.

I also lost a lot of presious time because I used gs to draw in the framebuffer.
The major problem was the interference from the Arrow cursor, Icon and docky redraws.
Then I used PutPixel, which is not bad, but GetPixel is terribly slow on my laptop's.
Syscall 7 (Draw Image in window) performs surprisingly well.
Now I am going to reprogram all my drawings using an offscreen buffer and syscall 7.
I hope that the live scroll on large windows will perform reasonably.
(There is unfortunately no kernel support for livescroll. see http://board.kolibrios.org/viewtopic.php?f=2&t=2880

_________________
Greetings from Seppe


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Пт дек 26, 2014 4:23 am 
Не в сети
Аватара пользователя

Зарегистрирован: Вт ноя 25, 2014 5:08 pm
Сообщения: 109
Very unexpected surprise!

Competition becomes harder but I still hope I can finish my game before 31st and get chance to take piece of prize. Good luck for you and for me :)

_________________
Roman Shuvalov


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Вс дек 28, 2014 8:54 pm 
Не в сети

Зарегистрирован: Чт дек 25, 2014 11:52 am
Сообщения: 5
Цитата:
according to the rules of our competition, your sources have to be present on our SVN (and your games built from sources on our server), to be eligible to participate. Please let me know if you need help doing this.
Yes, how do I submit? http://websvn.kolibrios.org/listing.php ... d73b47ce8e

What's the current directory for FASM? I had to save to SD and use /usbhd0/1/ prefix. Example: file '/usbhd0/1/MY.BMP'

Assembles on+for both Kolibri and Windows. First portable games written in FASM. 6 games total.

seppe: Thanks.

Roman: Good luck to you, too! Hope you finish


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Пн дек 29, 2014 2:59 am 
Не в сети
Public Relations
Аватара пользователя

Зарегистрирован: Пн июн 07, 2010 12:01 pm
Сообщения: 1879
codemaster писал(а):
Цитата:
according to the rules of our competition, your sources have to be present on our SVN (and your games built from sources on our server), to be eligible to participate. Please let me know if you need help doing this.
Yes, how do I submit? http://websvn.kolibrios.org/listing.php ... d73b47ce8e
Do you know how to use SVN? If you do, then send me a private message on this forum with the desired username/password - I will create an SVN account for you. If you have never heard of SVN, then send me all sources, and I will submit on your behalf.
codemaster писал(а):
What's the current directory for FASM? I had to save to SD and use /usbhd0/1/ prefix. Example: file '/usbhd0/1/MY.BMP'
You should place your games into /programs/games/ folder on the SVN, create "tupfile.lua" for each game (to teach our auto-build system how each game should be built) and then edit the main TUP auto-build file "tupfile.lua" to add your games to the auto-build: http://websvn.kolibrios.org/filedetails ... upfile.lua
And if any of your games has more than 1 files, then just place all files in the same folder. If you do it like this, then during build time, FASM will consider your game directory as current working directory, and you won't have any problems.
codemaster писал(а):
Binary Master - Fun game for programmers. Select/click bits to match the decimal number in red and make rows disappear. Practice binary arithmetic.
I tried this game. The idea is wonderful, but currently it's unplayable: new numbers are coming from the bottom and push all the existing numbers up at random time, so you end up clicking a wrong row. I think what you should do is add new numbers on the top without pushing existing numbers up.
codemaster писал(а):
Assembles on+for both Kolibri and Windows. First portable games written in FASM. 6 games total.
We would still count them as only 3 games, written for 2 different platforms. Anyway the maximum number of games one contestant can present is 3. But if you want, you can submit your Windows version of the games to another competition that ends at night between 29th and 30th December: http://igdc.ru/igdc_top.php?konkurs=117
That website is in Russian, but I think you can manage without knowing Russian - you just need to register on that forum and submit your games (including source code) there. If your games run on KolibriOS in addition to Windows - you get bonus points for participation. They do not give cash prizes to winners, but award Steam games instead (it's not much, but still something if you have a Steam account). Since you've completed the games anyway, I think it's worth if you submit them there as well.


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Пн дек 29, 2014 5:29 pm 
Не в сети

Зарегистрирован: Чт дек 25, 2014 11:52 am
Сообщения: 5
Updated download includes source, 7,000+ lines, images and executables
See READ.TXT for information. Very professional source code. Hang Programmer works now, better with keyboard than mouse in Kolibri.

yogev_ezra:

Цитата:
If you have never heard of SVN, then send me all sources, and I will submit on your behalf.
I'm on phone sending files+text created from PC. Please try to compile. A.INC selects "define cpu intel kolibri" and sets the current directory to blank (CD fix '').

Цитата:
Binary Master... I tried this game. The idea is wonderful, but currently it's unplayable: new numbers are coming from the bottom and push all the existing numbers up at random time, so you end up clicking a wrong row.
My favorite one. It's a challenging game that requires timing and precision. I made it easier by increasing the timer from 2.5 to 3.5 seconds of unheld mouse button time. Rows will not move while the left mouse button is held down to avoid accidentally clicking bits below. This only occurs when clicking repetitively and it technically moves before the click.

I think everything can be improved with time and it's hard to say what's really "finished". Example: Is TinyPad "finished" with no undos and bugs? I would love to do more for Kolibri like create a web browser if I had internet service and I've created many more programs+games that I could convert.

Thanks.


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Пн дек 29, 2014 8:57 pm 
Не в сети
Public Relations
Аватара пользователя

Зарегистрирован: Пн июн 07, 2010 12:01 pm
Сообщения: 1879
codemaster писал(а):
See READ.TXT for information. Very professional source code. Hang Programmer works now, better with keyboard than mouse in Kolibri.
I have downloaded the archive with sources and removed the link in your message temporarily (till tomorrow afternoon), so that your games can also participate in the contest here: http://igdc.ru/igdc_top.php?konkurs=117 (they require that sources/code is not available before their contest ends which is tonight). I have submitted your games there on your behalf. After their contest ends, I will expose your link once again.
codemaster писал(а):
I'm on phone sending files+text created from PC. Please try to compile. A.INC selects "define cpu intel kolibri" and sets the current directory to blank (CD fix '').
No problem - I will upload the sources to our SVN on your behalf, since of course it's not convenient for you to do it via mobile phone.
codemaster писал(а):
I would love to do more for Kolibri like create a web browser if I had internet service and I've created many more programs+games that I could convert.
Which country are you from, and is the lack of internet a country problem (i.e. like North Korea), or it's only due to the fact that you cannot afford it?


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Вт дек 30, 2014 1:07 pm 
Не в сети

Зарегистрирован: Чт дек 25, 2014 11:52 am
Сообщения: 5
Thanks. Sent 3 copies to myself in the mail before posting.

America. Internet is expensive. No vehicle or phone service, either. Must go outside with phone to access WIFI.

I spent all month working on this. Not sure how this will be judged and by whom. My source code, language and library, is the easily the best, most professional here and most useful as examples. Please ask someone who's really experienced like Tomasz and/or Ville.

Thanks again, Yogi! :)


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Ср дек 31, 2014 11:17 pm 
Не в сети
Public Relations
Аватара пользователя

Зарегистрирован: Пн июн 07, 2010 12:01 pm
Сообщения: 1879
codemaster писал(а):
Thanks. Sent 3 copies to myself in the mail before posting.
The competition on that website has ended. I have restored back the links to your games in your posts. Unfortunately you got only 5th place: http://igdc.ru/igdc_top.php?konkurs=117 (look for my nickname in the ranking table).
But this place still awards 2 coins, which you can use to spend on one of the Steam games they have (if one of your friends/family members has internet and uses Steam): http://igdc.ru/gifts/ (look for games in that list which cost 2 coins or less).
codemaster писал(а):
America. Internet is expensive. No vehicle or phone service, either. Must go outside with phone to access WIFI.
I am very sorry for that. I have uploaded your games to our SVN on your behalf, and managed to build them with our auto-build script. So you are now officially participating in the competition.
codemaster писал(а):
I spent all month working on this. My source code, language and library, is the easily the best, most professional here and most useful as examples. Please ask someone who's really experienced like Tomasz and/or Ville.
We are wondering who is the author of ABAKIS library that you used, and which license does it have? On FASM forums ABAKIS library was posted by a user named m3ntal, but no license was specified: http://board.flatassembler.net/topic.php?p=174080
Are you and m3ntal the same person? If it's true, then why you have posted ABAKIS library on FASM forum under one name (m3ntal), and KolibriOS games under other name (codestar)? If you are a different person, then we need to know the license under which ABAKIS library is distributed.
codemaster писал(а):
Not sure how this will be judged and by whom.
It would be judged by Russian-speaking readers of our project blog on a major Russian IT website: http://habrahabr.ru/company/kolibrios/blog/
Unfortunately for you, only game quality would be judged - no special bonuses for programming language used or size of the executable.
codemaster писал(а):
I would love to do more for Kolibri like create a web browser if I had internet service and I've created many more programs+games that I could convert.
Are you a professional FASM programmer? What is your current day job? Maybe we can hire you regardless of this competition.


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Чт янв 01, 2015 10:14 am 
Не в сети

Зарегистрирован: Чт дек 25, 2014 11:52 am
Сообщения: 5
Yes. Abakis is mine. 100% FASM macros. Same license as FASM. Do whatever with these games, Ive got 1,000s of more programs that Ive created.

Not interested. No thanks. Sorry, you lost the best.


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Чт янв 01, 2015 3:31 pm 
Не в сети
Аватара пользователя

Зарегистрирован: Пт дек 12, 2014 7:19 pm
Сообщения: 60
yogev_ezra писал(а):
codemaster писал(а):
Thanks. Sent 3 copies to myself in the mail before posting.
The competition on that website has ended. I have restored back the links to your games in your posts. Unfortunately you got only 5th place: http://igdc.ru/igdc_top.php?konkurs=117 (look for my nickname in the ranking table).
But this place still awards 2 coins, which you can use to spend on one of the Steam games they have (if one of your friends/family members has internet and uses Steam): http://igdc.ru/gifts/ (look for games in that list which cost 2 coins or less).

Увы, но в правилах IGDC:
Получить свой приз можно только заняв призовое место (1, 2 или 3) и только после конкурса и до начала следующего. Монеты НЕ сгорают, а копятся, так что если глянулось, что-то дороже того, чем Вы располагаете - смело копите :)

Также могут возникнуть проблемы с регионами, т.к. политика Steam не позволяет передавать подарки между некоторыми регионами.

Пример ограничения Steam:
Цитата:
Этот подарок может быть активирован только в этих странах: Армения, Азербайджан, Республика Беларусь, Грузия, Киргизстан, Казахстан, Молдова, Республика Молдова, Таджикистан, Туркменистан, Узбекистан, Украина, Россия


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Чт янв 01, 2015 3:38 pm 
Не в сети
Public Relations
Аватара пользователя

Зарегистрирован: Пн июн 07, 2010 12:01 pm
Сообщения: 1879
ZblCoder писал(а):
Увы, но в правилах IGDC:
Получить свой приз можно только заняв призовое место (1, 2 или 3) и только после конкурса и до начала следующего. Монеты НЕ сгорают, а копятся, так что если глянулось, что-то дороже того, чем Вы располагаете - смело копите :)

Также могут возникнуть проблемы с регионами, т.к. политика Steam не позволяет передавать подарки между некоторыми регионами.
Пример ограничения Steam:
Цитата:
Этот подарок может быть активирован только в этих странах: Армения, Азербайджан, Республика Беларусь, Грузия, Киргизстан, Казахстан, Молдова, Республика Молдова, Таджикистан, Туркменистан, Узбекистан, Украина, Россия
Да, я видел оба ограничения, но надеялся, что бедняге без интернета и без знания русского языка пойдут навстречу.
Хотя, похоже, что и игра из Steam ему тоже не нужна :roll:


Вернуться к началу
 Заголовок сообщения: Re: 3 Games: Binary Master, Kolibri Puzzle Challenge
СообщениеДобавлено: Чт янв 01, 2015 3:47 pm 
Не в сети
Аватара пользователя

Зарегистрирован: Пт дек 12, 2014 7:19 pm
Сообщения: 60
yogev_ezra писал(а):
Да, я видел оба ограничения, но надеялся, что бедняге без интернета и без знания русского языка пойдут навстречу.
Хотя, похоже, что и игра из Steam ему тоже не нужна :roll:


Для меня всегда было участие и признание работы, важнее. Полученный опыт, не сравнится с теми призами которые можно получить, по крайней мере цель ИГДЦ проста, научится делать игры, с конкуренцией и мотивацией сделать лучше. А призы, это так, приятный бонус.

Зато теперь у товарища есть возможность победить в следующем конкурсе и взять приз по дороже ))


Вернуться к началу
Показать сообщения за:  Поле сортировки  
Начать новую тему  Ответить на тему  [ 21 сообщение ]  На страницу 1 2 След.

Часовой пояс: UTC+03:00


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 1 гость


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
cron
Создано на основе phpBB® Forum Software © phpBB Limited
Русская поддержка phpBB