12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- # kruchess
- $metka = ''
- $loc = 'kruchess'
- frost = 0
- gs'stat'
- FColor = RGB(0,0,0)
- BColor = RGB(255,255,255)
- LColor = RGB(106,90,205)
- '<center><b><font color = maroon>Chess Club</font></b></center>'
- '<center><img src="images/lur/kru/kruchess.jpg"></center>'
- if hour > 20:
- 'Chess club is closed. The coach and some players are tidying away the boards and pieces.'
- act 'Leave':gt'gdkkru'
- else
- if week ! 6:
- 'The kids are sitting around playing practise games and watched over and helped by coach Genrikh G.'
- act 'Spend an hour practising with assistance from the coach':
- chess += rand(intel/20,intel/10)
- intel += 1
- minut += 60
- end
- else
- 'On Saturdays, after a week''s training, club members spend the whole day playing against each other.'
- if chess_win<5:
- 'You are paired against Vitalik, the youngest boy in the club. Despite his age he has already achieved rank 4, the lowest official chess rank corresponding to an ELO rating of 1000+.'
- act'Play':
- cls
- $chess_name='Vitalik'
- chessV=40
- gt'chessplay'
- end
- end
- if chess_win>=5 and chess_win<10:
- 'You get to play against Kostya, who recently advanced to rank 3 after passing 1400 ELO points.'
- act'Play':
- cls
- $chess_name='Kostya'
- chessV=100
- gt'chessplay'
- end
- end
- if chess_win>=10 and chess_win<15:
- 'You sit down to play Sergei. You recall that he is a rank 2 player with an ELO rating of more than 1600.'
- act'Play':
- cls
- $chess_name='Sergei'
- chessV=300
- gt'chessplay'
- end
- end
- if chess_win>=15:
- 'You are facing the chess coach. At his peak he achieved an ELO ranking of over 2000, and despite his skills declining with age he still plays at the level of a rank 1 player.'
- act'Play':
- cls
- $chess_name='Coach Genrikh G.'
- chessV=800
- gt'chessplay'
- end
- end
- end
- act 'Leave':gt'gdkkru'
- end
- --- kruchess ---------------------------------
|