Skip to content

Commit

Permalink
reordered games and some minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aryamangodara committed Feb 20, 2022
1 parent 5b1225f commit 3973390
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 140 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
.svn/

#keystore file
/android/*.jks
/android/app/*.jks

# IntelliJ related
*.iml
Expand Down
228 changes: 94 additions & 134 deletions lib/models/games.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,94 @@ List<Game> games = [
'https://www.agame.com/game/flip-bottle',
),
Game(
'Plane Fight',
'https://static.gamezop.com/H1IEpMJP917/300x250.png',
'https://www.gamezop.com/g/H1IEpMJP917?id=v6aDz0bon',
'Hanger',
'https://api.web.gamepix.com/assets/img/600/340/banner/hanger.png',
'https://www.agame.com/game/hanger',
),
Game(
'Quento',
'https://quento.com/img/icon.png',
"https://quento.com/game/",
),
Game(
'Conduct This',
'https://i.ytimg.com/vi/hTsHbLc88yU/maxresdefault.jpg',
'https://www.agame.com/game/conduct-this',
),
Game(
'Happy Glass',
'https://miro.medium.com/max/512/1*SOrhgaiP7486cPFNnSfYpQ.png',
'https://www.agame.com/game/happy-glass-2',
),
Game(
'Moto X3',
'https://images.crazygames.com/games/moto-x3m/cover-1586173923704.jpeg?auto=format,compress&q=75&cs=strip&ch=DPR&w=1200&h=630&fit=crop',
'https://www.agame.com/game/moto-x3m-3',
),
Game(
'Emoji Game',
'https://images-na.ssl-images-amazon.com/images/I/81sHfdB9myL.png',
'https://www.agame.com/game/emoji-game',
),
Game(
'Snakes & Ladders',
'https://static.gamezop.com/rJWyhp79RS/300x250.png',
'https://www.gamezop.com/g/rJWyhp79RS?id=v6aDz0bon',
),
Game(
'Fireboy and Watergirl',
'https://images.crazygames.com/games/fireboy-and-watergirl-the-forest-temple/cover-1586285142530.jpg?auto=format,compress&q=75&cs=strip&ch=DPR&w=1200&h=630&fit=crop',
'https://www.agame.com/game/fireboy-and-watergirl-the-forest-temple',
),
Game(
'Sudoku',
'https://static.gamezop.com/SJgx126Qc0H/300x250.png',
'https://www.gamezop.com/g/SJgx126Qc0H?id=v6aDz0bon',
),
Game(
'Johnny Revenge',
'https://img.gamedistribution.com/699fec3ebc2e4f4c92f5ebd26ce195ce-512x512.jpeg',
'https://www.agame.com/game/johnny-revenge',
),
Game(
'Draw Rider',
'https://cdn.kiz10.com/upload/thumbnails/mediums/13585/draw-rider_.webp',
'https://www.agame.com/game/draw-rider',
),
Game(
'Truck Loader',
'https://i.ytimg.com/vi/WnyfWEmzFDk/maxresdefault.jpg',
'https://www.agame.com/game/truck-loader-5',
),
Game(
'Line Puzzle',
'https://images-eu.ssl-images-amazon.com/images/I/81GcIRVM5yL.png',
'https://www.agame.com/game/line-puzzle',
),
Game(
'Missile Game',
'https://lh4.ggpht.com/cQu-klK6DdZ2FpalLOA_nI1qnLemzJpGn_KI0u8Cju539pv2Lm_d_hS2NQzCspswGXHawYe-PhPUeG_3V0riFZ2f8w83tdtu9AFCPw',
'https://missile-game.bwhmather.com/',
),
Game(
'Knife Smash',
'https://lh3.googleusercontent.com/nbvHS86hSzVO1NVmY5KZG9AK8-1G2h-Uf9Ti54QBEvxYr3u0DICEmgRzaZabZJmIaKXAxAaJS3f7B2fWDYG55JyuEA=w640-h400-e365-rj-sc0x00ffffff',
'https://www.agame.com/game/knife-smash-',
),
Game(
'Oh nO',
'https://play-lh.googleusercontent.com/Jd70ZjweyOh6e3yELgU2IB5o8r_gkf1EGKmWO3tp9s-tgxkfiI5rkYEel9wUfFhFWE4=w720-h310-rw',
'https://0hn0.com/',
),
Game(
'Hetrix',
'https://superdevresources.com/wp-content/uploads/2014/09/hextris-open-source-web-game.png',
'https://hextris.io/',
),
Game(
'HexGl',
'https://image.winudf.com/v2/image/Y29tLndoZXhnbDJfc2NyZWVuc2hvdHNfMV81OThhYTc4OQ/screen-1.jpg?h=355&fakeurl=1&type=.jpg',
'https://hexgl.bkcore.com/play/',
),
Game(
'Ludo With Friends',
Expand Down Expand Up @@ -109,6 +194,11 @@ List<Game> games = [
'https://static.gamezop.com/SkJf58Ouf0/300x250.png',
'https://www.gamezop.com/g/SkJf58Ouf0?id=v6aDz0bon',
),
Game(
'Plane Fight',
'https://static.gamezop.com/H1IEpMJP917/300x250.png',
'https://www.gamezop.com/g/H1IEpMJP917?id=v6aDz0bon',
),
Game(
'Snake King',
'https://static.gamezop.com/ryTknTX5AS/300x250.png',
Expand All @@ -119,16 +209,6 @@ List<Game> games = [
'https://static.gamezop.com/HJskh679Cr/300x250.png',
'https://www.gamezop.com/g/HJskh679Cr?id=v6aDz0bon',
),
Game(
'Snakes & Ladders',
'https://static.gamezop.com/rJWyhp79RS/300x250.png',
'https://www.gamezop.com/g/rJWyhp79RS?id=v6aDz0bon',
),
Game(
'Fireboy and Watergirl',
'https://images.crazygames.com/games/fireboy-and-watergirl-the-forest-temple/cover-1586285142530.jpg?auto=format,compress&q=75&cs=strip&ch=DPR&w=1200&h=630&fit=crop',
'https://www.agame.com/game/fireboy-and-watergirl-the-forest-temple',
),
Game(
'Dumb ways to die',
'https://play-lh.googleusercontent.com/aSji1uIDWOUx-ZjFlPEsQzg5Ofb6oWSPyOBUYLmYzqQazv7C7n8S3Y_5JMh_tj8Zfc-O',
Expand All @@ -144,11 +224,6 @@ List<Game> games = [
'https://static.gamezop.com/rkYbNLTIT-x/300x250.png',
'https://www.gamezop.com/g/rkYbNLTIT-x?id=v6aDz0bon',
),
Game(
'Om Nom Run',
'https://i.ytimg.com/vi/UvHw7arwqZQ/maxresdefault.jpg',
'https://www.crazygames.com/game/om-nom-run',
),
Game(
'Knife Flip',
'https://static.gamezop.com/H1PJn6mqAr/300x250.png',
Expand All @@ -164,46 +239,6 @@ List<Game> games = [
'https://superdevresources.com/wp-content/uploads/2014/09/oh-hi-puzzle-game.jpg',
'https://0hh1.com/',
),
Game(
'Hanger',
'https://api.web.gamepix.com/assets/img/600/340/banner/hanger.png',
'https://www.agame.com/game/hanger',
),
Game(
'Pull the Pin',
'https://imag.malavida.com/mvimgbig/download-fs/pull-the-pin-25808-1.jpg',
'https://www.crazygames.com/game/pull-pin',
),
Game(
'Quento',
'https://quento.com/img/icon.png',
"https://quento.com/game/",
),
Game(
'Cut the Rope Time Travel',
'https://lh3.googleusercontent.com/8Yoo_S_VD8-g2Td4sx-MQenSX2ZFm2-SPmaIG9BbAyiLQSYwxzR-ar6js6QJBClX9WE0eGNzMlHhW9zgyC-_ofUL0g=w640-h400-e365-rj-sc0x00ffffff',
'https://www.crazygames.com/game/cut-the-rope-time-travel',
),
Game(
'Adam and eve Zombies',
'https://i.ytimg.com/vi/NFUoBeaYy8k/maxresdefault.jpg',
'https://www.crazygames.com/game/adam-and-eve-zombies',
),
Game(
'Sudoku',
'https://static.gamezop.com/SJgx126Qc0H/300x250.png',
'https://www.gamezop.com/g/SJgx126Qc0H?id=v6aDz0bon',
),
Game(
'Will Hero',
'https://images.crazygames.com/games/will-hero-online/thumb-1564051926318.png?auto=format,compress&q=75&cs=strip&ch=DPR&w=1200&h=630&fit=crop',
'https://www.crazygames.com/game/will-hero-online',
),
Game(
'Johnny Revenge',
'https://img.gamedistribution.com/699fec3ebc2e4f4c92f5ebd26ce195ce-512x512.jpeg',
'https://www.agame.com/game/johnny-revenge',
),
Game(
'Penalty Shooters',
'https://tcf.admeen.org/game/15500/15004/400x246/penalty-shooters.jpg',
Expand All @@ -214,41 +249,6 @@ List<Game> games = [
'https://static.gamezop.com/H1TbVUa8aWe/300x250.png',
'https://www.gamezop.com/g/H1TbVUa8aWe?id=v6aDz0bon',
),
Game(
'Truck Loader',
'https://i.ytimg.com/vi/WnyfWEmzFDk/maxresdefault.jpg',
'https://www.agame.com/game/truck-loader-5',
),
Game(
'Line Puzzle',
'https://images-eu.ssl-images-amazon.com/images/I/81GcIRVM5yL.png',
'https://www.agame.com/game/line-puzzle',
),
Game(
'Missile Game',
'https://lh4.ggpht.com/cQu-klK6DdZ2FpalLOA_nI1qnLemzJpGn_KI0u8Cju539pv2Lm_d_hS2NQzCspswGXHawYe-PhPUeG_3V0riFZ2f8w83tdtu9AFCPw',
'https://missile-game.bwhmather.com/',
),
Game(
'Knife Smash',
'https://lh3.googleusercontent.com/nbvHS86hSzVO1NVmY5KZG9AK8-1G2h-Uf9Ti54QBEvxYr3u0DICEmgRzaZabZJmIaKXAxAaJS3f7B2fWDYG55JyuEA=w640-h400-e365-rj-sc0x00ffffff',
'https://www.agame.com/game/knife-smash-',
),
Game(
'Conduct This',
'https://i.ytimg.com/vi/hTsHbLc88yU/maxresdefault.jpg',
'https://www.agame.com/game/conduct-this',
),
Game(
'Happy Glass',
'https://miro.medium.com/max/512/1*SOrhgaiP7486cPFNnSfYpQ.png',
'https://www.agame.com/game/happy-glass-2',
),
Game(
'Moto X3',
'https://images.crazygames.com/games/moto-x3m/cover-1586173923704.jpeg?auto=format,compress&q=75&cs=strip&ch=DPR&w=1200&h=630&fit=crop',
'https://www.agame.com/game/moto-x3m-3',
),
Game(
'Little Alchemy 2',
'https://littlealchemy2.com/static/img/little-alchemy-2-fb-thumbnail.jpg',
Expand Down Expand Up @@ -279,44 +279,19 @@ List<Game> games = [
'https://phoboslab.org/content/assets/xibalba.png',
'https://phoboslab.org/xibalba/',
),
Game(
'Adam eve 4',
'https://i.ytimg.com/vi/JnwkxwLJZfI/hqdefault.jpg',
'https://www.crazygames.com/game/adam-and-eve-',
),
Game(
'Solitare Gold',
'https://static.gamezop.com/rkPlk2T7qAr/300x250.png',
'https://www.gamezop.com/g/rkPlk2T7qAr?id=v6aDz0bon',
),
Game(
'2048 solitare',
'https://www.mindgames.com/uploaded/thumb/2048-solitaire.jpg',
'https://www.crazygames.com/game/2048-solitaire',
),
Game(
'Bubble Wipeout',
'https://static.gamezop.com/H1AN6fkwqJ7/300x250.png',
'https://www.gamezop.com/g/H1AN6fkwqJ7?id=v6aDz0bon',
),
Game(
'Oh nO',
'https://play-lh.googleusercontent.com/Jd70ZjweyOh6e3yELgU2IB5o8r_gkf1EGKmWO3tp9s-tgxkfiI5rkYEel9wUfFhFWE4=w720-h310-rw',
'https://0hn0.com/',
),
Game(
'Hetrix',
'https://superdevresources.com/wp-content/uploads/2014/09/hextris-open-source-web-game.png',
'https://hextris.io/',
),
Game(
'HexGl',
'https://image.winudf.com/v2/image/Y29tLndoZXhnbDJfc2NyZWVuc2hvdHNfMV81OThhYTc4OQ/screen-1.jpg?h=355&fakeurl=1&type=.jpg',
'https://hexgl.bkcore.com/play/',
),
Game(
'Colonist.io',
'https://colonist.io/dist/images/screenshot.png',
'https://images.crazygames.com/games/katan-io/cover-1631200178618.png?auto=format,compress&q=75&cs=strip&ch=DPR&w=1200&h=630&fit=crop',
'https://colonist.io/',
),
Game(
Expand All @@ -329,11 +304,6 @@ List<Game> games = [
'https://cdn.vox-cdn.com/thumbor/nbI705BGP7Mz6r6S7PdhYMP2GWE=/0x0:1185x747/920x0/filters:focal(0x0:1185x747):format(webp):no_upscale()/cdn.vox-cdn.com/uploads/chorus_asset/file/7475709/Screen_Shot_2016_11_15_at_12.05.46_PM.png',
'https://quickdraw.withgoogle.com/',
),
Game(
'Emoji Game',
'https://images-na.ssl-images-amazon.com/images/I/81sHfdB9myL.png',
'https://www.agame.com/game/emoji-game',
),
Game(
'Kung fu fight',
'https://static.play123.in/game-images/kung-fu-fight-beat-em-up_big.jpg',
Expand All @@ -349,16 +319,6 @@ List<Game> games = [
'https://www.bestgames.com/thumb/Stacky-Run.jpg',
'https://www.agame.com/game/stacky-run',
),
Game(
'Basketball Stars',
'https://play-lh.googleusercontent.com/dzSm_krwhYzsLayp-_0QKU9w5NQyTunMH3y62Ad0O6uI6g-WNT29AcfNJlrpOj_bEwY',
'https://www.crazygames.com/game/basketball-stars-2019',
),
Game(
'Draw Rider',
'https://cdn.kiz10.com/upload/thumbnails/mediums/13585/draw-rider_.webp',
'https://www.agame.com/game/draw-rider',
),
Game(
'Threes',
'https://venturebeat.com/wp-content/uploads/2014/03/threes_ss_19.png',
Expand Down
1 change: 0 additions & 1 deletion lib/screens/game_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class _GameScreenState extends State<GameScreen> {
'Adam eve 4',
'Adam and eve Zombies',
'Dumb ways to die',
'Basketball Stars',
'Will Hero',
'Stickman Archer',
'Penalty Shooters',
Expand Down
5 changes: 2 additions & 3 deletions lib/screens/main_drawer.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:web_display/screens/favorite_games_screen.dart';
import 'package:web_display/screens/games_list_screen.dart';
import './favorite_games_screen.dart';
import './games_list_screen.dart';
import 'package:share/share.dart';
import 'package:url_launcher/url_launcher.dart';

Expand All @@ -18,7 +18,6 @@ class MainDrawer extends StatelessWidget {
height: 120,
width: 120,
padding: const EdgeInsets.all(15),
// color: Colors.white,
decoration: BoxDecoration(
shape: BoxShape.circle, color: Colors.white),
child: const Image(
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/search_widget.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:web_display/controllers/search_controller.dart';
import '../controllers/search_controller.dart';

class SearchWidget extends StatefulWidget {
final String text;
Expand Down

0 comments on commit 3973390

Please sign in to comment.